tryrequire
Advanced tools
Comparing version 1.1.4 to 1.1.5
(function() { | ||
'use strict'; | ||
var tryCatch = require('try-catch'); | ||
var tryCatch = require('try-catch'); | ||
@@ -16,7 +16,3 @@ module.exports = function tryRequire(name, options) { | ||
if (o.log) | ||
console.error([ | ||
module.parent.filename + ':', | ||
error.code, | ||
'\'' + name + '\'', | ||
].join(' ')); | ||
console.error(error.message); | ||
else if (o.callback) | ||
@@ -23,0 +19,0 @@ result = exec.bind(null, error); |
{ | ||
"name": "tryrequire", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
@@ -5,0 +5,0 @@ "description": "try to require", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3449
23