Skip to content

Commit 0bd54cd

Browse files
committed
expand check
1 parent cb1c571 commit 0bd54cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ exports.extract = function extract (cwd, opts) {
247247
}
248248

249249
function inCwd (dst) {
250-
return dst.startsWith(cwd)
250+
return dst === cwd || dst.startsWith(cwd + path.sep)
251251
}
252252

253253
function onfile () {

0 commit comments

Comments
 (0)