Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
add 'mac' as an alternative name for 'macos'
Browse files Browse the repository at this point in the history
  • Loading branch information
igorklopov committed May 1, 2017
1 parent 67c4a7b commit d95b149
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export function isValidNodeRange (nodeRange) {
export function toFancyPlatform (platform) {
if (platform === 'darwin') return 'macos';
if (platform === 'lin') return 'linux';
if (platform === 'mac') return 'macos';
if (platform === 'osx') return 'macos';
if (platform === 'win32') return 'win';
if (platform === 'windows') return 'win';
Expand Down

0 comments on commit d95b149

Please sign in to comment.