Skip to content

Commit 62dc218

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

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
@@ -49,11 +49,9 @@ function getBinaryName() {
4949
} else if (process.env.SASS_BINARY_NAME) {
5050
binaryName = process.env.SASS_BINARY_NAME;
5151
} else {
52-
var v8SemVersion = process.versions.v8.split('.').slice(0, 3).join('.');
53-
5452
binaryName = [process.platform, '-',
5553
process.arch, '-',
56-
v8SemVersion].join('');
54+
process.versions.modules].join('');
5755
}
5856

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

0 commit comments

Comments
 (0)