Add macOS as an OS option to CertificateProvider

Reviewed By: danielbuechele

Differential Revision: D16833334

fbshipit-source-id: 74a5e39814ff21d4be26fe2a60b5d201b9cec16b
This commit is contained in:
Matthew Brotman
2019-08-19 14:30:16 -07:00
committed by Facebook Github Bot
parent 2a903d56c3
commit 3730167b77

View File

@@ -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') {