Blame view

node_modules/is-path-in-cwd/index.js 140 Bytes
aaac7fed   liuqimichale   add
1
2
3
4
5
6
  'use strict';
  var isPathInside = require('is-path-inside');
  
  module.exports = function (str) {
  	return isPathInside(str, process.cwd());
  };