Skip to content

Commit 6088b95

Browse files
authored
fix excludePaths: exclude only package.json
1 parent 5c2c92b commit 6088b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if (argv.version || argv.v) {
5252
const excludePaths = makeRegExp(
5353
argv.exclude,
5454
"exclude",
55-
/package\.json$/,
55+
/^package\.json$/,
5656
argv["case-sensitive-path-filtering"],
5757
)
5858
const packageManager = detectPackageManager(

0 commit comments

Comments
 (0)