Replace OSX with macOS

This commit is contained in:
Leo Lamprecht 2016-09-07 11:16:55 +02:00 committed by Igor Klopov
parent da337264f1
commit 3bb0459ea2

View File

@ -13,7 +13,7 @@ export function abiToNodeRange (abi) {
}
export function toFancyPlatform (platform) {
if (platform === 'darwin') return 'osx';
if (platform === 'darwin') return 'macos';
if (platform === 'win32') return 'win';
return platform;
}
@ -24,7 +24,7 @@ function getHostPlatform () {
}
function getKnownPlatforms () {
return [ 'linux', 'osx', 'win' ];
return [ 'linux', 'macos', 'win' ];
}
export function toFancyArch (arch) {