diff options
Diffstat (limited to 'node_modules/is-path-in-cwd/index.js')
-rw-r--r-- | node_modules/is-path-in-cwd/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/is-path-in-cwd/index.js b/node_modules/is-path-in-cwd/index.js new file mode 100644 index 000000000..75611656a --- /dev/null +++ b/node_modules/is-path-in-cwd/index.js @@ -0,0 +1,6 @@ +'use strict'; +var isPathInside = require('is-path-inside'); + +module.exports = function (str) { + return isPathInside(str, process.cwd()); +}; |