diff options
Diffstat (limited to 'node_modules/node-sass/lib/binding.js')
-rw-r--r-- | node_modules/node-sass/lib/binding.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/node_modules/node-sass/lib/binding.js b/node_modules/node-sass/lib/binding.js deleted file mode 100644 index 7af4132..0000000 --- a/node_modules/node-sass/lib/binding.js +++ /dev/null @@ -1,20 +0,0 @@ -/*! - * node-sass: lib/binding.js - */ - -var errors = require('./errors'); - -/** - * Require binding - */ -module.exports = function(ext) { - if (!ext.hasBinary(ext.getBinaryPath())) { - if (!ext.isSupportedEnvironment()) { - throw new Error(errors.unsupportedEnvironment()); - } else { - throw new Error(errors.missingBinary()); - } - } - - return require(ext.getBinaryPath()); -}; |