Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
Add mac 10.13 to list of possible mac versions
Browse files Browse the repository at this point in the history
  • Loading branch information
imurchie committed Oct 10, 2017
1 parent c86e472 commit b6a931f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function macOsxVersion () {
} catch (err) {
throw new Error(`Could not detect Mac OS X Version: ${err}`);
}
for (let v of ['10.8', '10.9', '10.10', '10.11', '10.12']) {
for (let v of ['10.8', '10.9', '10.10', '10.11', '10.12', '10.13']) {
if (stdout.indexOf(v) === 0) { return v; }
}
throw new Error(`Could not detect Mac OS X Version from sw_vers output: '${stdout}'`);
Expand Down

0 comments on commit b6a931f

Please sign in to comment.