mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
update
This commit is contained in:
14
node_modules/is-path-inside/index.js
generated
vendored
Normal file
14
node_modules/is-path-inside/index.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
var path = require('path');
|
||||
var pathIsInside = require('path-is-inside');
|
||||
|
||||
module.exports = function (a, b) {
|
||||
a = path.resolve(a);
|
||||
b = path.resolve(b);
|
||||
|
||||
if (a === b) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return pathIsInside(a, b);
|
||||
};
|
Reference in New Issue
Block a user