mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
# add dist
This commit is contained in:
14
ng2-components/ng2-alfresco-documentslist/dist/node_modules/is-path-inside/index.js
generated
vendored
Normal file
14
ng2-components/ng2-alfresco-documentslist/dist/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