tenebrous-dicebot/api/node_modules/is-path-in-cwd/index.js

5 lines
123 B
JavaScript

'use strict';
const isPathInside = require('is-path-inside');
module.exports = path => isPathInside(path, process.cwd());