You've already forked wakapi-readme-stats
Bar graph added.
This commit is contained in:
16
node_modules/d3-geo-projection/bin/resolve.js
generated
vendored
Normal file
16
node_modules/d3-geo-projection/bin/resolve.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
var child_process = require("child_process"),
|
||||
resolve = require("resolve"),
|
||||
options = {basedir: process.cwd(), paths: []};
|
||||
|
||||
module.exports = function(module) {
|
||||
try {
|
||||
return resolve.sync(module, options); // Attempt fast local resolve first.
|
||||
} catch (error) {
|
||||
if (!options.paths.length) {
|
||||
options.paths.push(child_process.execSync("npm root -g").toString().trim());
|
||||
return resolve.sync(module, options);
|
||||
} else {
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user