From 199658aeef4c6433ea1977e63a0b9f11d2c98e0a Mon Sep 17 00:00:00 2001 From: John Knox Date: Tue, 17 Sep 2019 08:57:53 -0700 Subject: [PATCH] Fix ios device certificate exchange Summary: `idb file pull` no longer accepts a directory name as a destination to pull a file to. This passes the destination file name instead. Reviewed By: passy Differential Revision: D17420100 fbshipit-source-id: 9e2f5bfda3733832fc71944f1dbbdb7ac0f08acb --- src/utils/CertificateProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/CertificateProvider.tsx b/src/utils/CertificateProvider.tsx index 3895b3ef9..de0be0fb1 100644 --- a/src/utils/CertificateProvider.tsx +++ b/src/utils/CertificateProvider.tsx @@ -367,7 +367,7 @@ export default class CertificateProvider { return tmpDir({unsafeCleanup: true}) .then(dir => { return iosUtil - .pull(deviceId, originalFile, bundleId, dir) + .pull(deviceId, originalFile, bundleId, path.join(dir, csrFileName)) .then(() => dir); }) .then(dir => {