odin-javascript-exercises/node_modules/is-path-in-cwd/index.js
2017-12-15 12:56:14 -06:00

6 lines
140 B
JavaScript

'use strict';
var isPathInside = require('is-path-inside');
module.exports = function (str) {
return isPathInside(str, process.cwd());
};