updated npm modules
This commit is contained in:
6
node_modules/is-path-cwd/index.js
generated
vendored
6
node_modules/is-path-cwd/index.js
generated
vendored
@@ -1,6 +1,4 @@
|
||||
'use strict';
|
||||
var path = require('path');
|
||||
const path = require('path');
|
||||
|
||||
module.exports = function (str) {
|
||||
return path.resolve(str) === path.resolve(process.cwd());
|
||||
};
|
||||
module.exports = path_ => path.resolve(path_) === process.cwd();
|
||||
|
||||
Reference in New Issue
Block a user