Add macOS as an OS option to CertificateProvider
Reviewed By: danielbuechele Differential Revision: D16833334 fbshipit-source-id: 74a5e39814ff21d4be26fe2a60b5d201b9cec16b
This commit is contained in:
committed by
Facebook Github Bot
parent
2a903d56c3
commit
3730167b77
@@ -199,7 +199,7 @@ export default class CertificateProvider {
|
|||||||
androidUtil.push(deviceId, appName, destination + filename, contents),
|
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(
|
return promisify(fs.writeFile)(destination + filename, contents).catch(
|
||||||
err => {
|
err => {
|
||||||
if (os === 'iOS') {
|
if (os === 'iOS') {
|
||||||
|
|||||||
Reference in New Issue
Block a user