From 62dc218e6a12fbccca5172fce3af41114cd6ce16 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 3e913f327..edbc75260 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('_');