From 3730167b77cb91ae38847e5982818eb2ff6f6cd8 Mon Sep 17 00:00:00 2001 From: Matthew Brotman Date: Mon, 19 Aug 2019 14:30:16 -0700 Subject: [PATCH] Add macOS as an OS option to CertificateProvider Reviewed By: danielbuechele Differential Revision: D16833334 fbshipit-source-id: 74a5e39814ff21d4be26fe2a60b5d201b9cec16b --- 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 ea206f918..d9f520fa8 100644 --- a/src/utils/CertificateProvider.tsx +++ b/src/utils/CertificateProvider.tsx @@ -199,7 +199,7 @@ export default class CertificateProvider { androidUtil.push(deviceId, appName, destination + filename, contents), ); } - if (os === 'iOS' || os === 'windows') { + if (os === 'iOS' || os === 'windows' || os == 'MacOS') { return promisify(fs.writeFile)(destination + filename, contents).catch( err => { if (os === 'iOS') {