Skip to content

Commit 63bc500

Browse files
authored
Merge pull request #390 from milahu/patch-2
fix excludePaths: exclude only package.json
2 parents 6fc78ff + 6088b95 commit 63bc500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
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)