katoikia-app/web-ui/web-react/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());