Skip to content

Commit 906e0e7

Browse files
committed
Build: Uses modules version instead of v8.
* Pointed out by @saper via sass#694. PR URL: sass#743.
1 parent eb618d8 commit 906e0e7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/extensions.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@ function getBinaryName() {
4747
} else if (process.env.SASS_BINARY_NAME) {
4848
binaryName = process.env.SASS_BINARY_NAME;
4949
} else {
50-
var v8SemVersion = process.versions.v8.split('.').slice(0, 3).join('.');
51-
5250
binaryName = [process.platform, '-',
5351
process.arch, '-',
54-
v8SemVersion].join('');
52+
process.versions.modules].join('');
5553
}
5654

5755
return [binaryName, 'binding.node'].join('_');

0 commit comments

Comments
 (0)