From a28877991109380406c6252a5f75809f1e0dd7b8 Mon Sep 17 00:00:00 2001 From: Adeel Date: Mon, 9 Mar 2015 12:16:26 +0200 Subject: [PATCH] Build: Uses modules version instead of v8. * Pointed out by @saper via #694. PR URL: #743. --- lib/extensions.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/extensions.js b/lib/extensions.js index 278c33b19..93a16e02c 100644 --- a/lib/extensions.js +++ b/lib/extensions.js @@ -49,11 +49,9 @@ function getBinaryName() { } else if (process.env.SASS_BINARY_NAME) { binaryName = process.env.SASS_BINARY_NAME; } else { - var v8SemVersion = process.versions.v8.split('.').slice(0, 3).join('.'); - binaryName = [process.platform, '-', process.arch, '-', - v8SemVersion].join(''); + process.versions.modules].join(''); } return [binaryName, 'binding.node'].join('_');