Skip to content

Commit

Permalink
Add Electron ABI versions
Browse files Browse the repository at this point in the history
This adds the respective Electron ABI versions to `getHumanNodeVersion()`
to enable running `node-sass` under Electron where the ABI versions differ from Node's.
  • Loading branch information
jhermsmeier committed Jun 2, 2017
1 parent 1dcc78a commit a1488f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ function getHumanNodeVersion(abi) {
case 46: return 'Node.js 4.x';
case 47: return 'Node.js 5.x';
case 48: return 'Node.js 6.x';
case 49: return 'Electron 1.3.x';
case 50: return 'Electron 1.4.x';
case 51: return 'Node.js 7.x';
case 53: return 'Electron 1.6.x';
case 55: return 'Node.js 8.x';
case 57: return 'Node.js 8.x';
default: return false;
Expand Down

0 comments on commit a1488f1

Please sign in to comment.