Updating NPM dependencies
This commit is contained in:
5
node_modules/istanbul-reports/index.js
generated
vendored
5
node_modules/istanbul-reports/index.js
generated
vendored
@@ -1,3 +1,4 @@
|
||||
'use strict';
|
||||
/*
|
||||
Copyright 2012-2015, Yahoo Inc.
|
||||
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
|
||||
@@ -11,6 +12,10 @@ module.exports = {
|
||||
try {
|
||||
Cons = require(path.join(__dirname, 'lib', name));
|
||||
} catch (e) {
|
||||
if (e.code !== 'MODULE_NOT_FOUND') {
|
||||
throw e;
|
||||
}
|
||||
|
||||
Cons = require(name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user