@absolunet/fss
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -60,3 +60,4 @@ //-------------------------------------------------------- | ||
.filter(({ path:curr, stats }) => { | ||
const file = curr.split(path.sep).pop(); | ||
const file = curr.split(path.sep).pop(); | ||
const relative = curr.substring(rootPath.length + 1); | ||
@@ -66,3 +67,3 @@ return ( | ||
(keepJunk || (!keepJunk && junk.not(file) && !['.gitkeep'].includes(file))) && | ||
minimatch(curr, pattern, { dot:true, matchBase:true }) | ||
minimatch(relative, pattern, { dot:true, matchBase:true }) | ||
); | ||
@@ -69,0 +70,0 @@ }) |
{ | ||
"name": "@absolunet/fss", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "fs / fs-extra sync wrapper", | ||
@@ -26,3 +26,3 @@ "definition": "", | ||
"engines": { | ||
"node": ">= 10.7.0" | ||
"node": ">= 10.8.0" | ||
}, | ||
@@ -29,0 +29,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8171
63