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