7 lines
140 B
JavaScript
Raw Normal View History

2019-11-26 14:50:43 -08:00
'use strict';
var isPathInside = require('is-path-inside');
module.exports = function (str) {
return isPathInside(str, process.cwd());
};