Skip to content

Commit

Permalink
Set default value for ignore options
Browse files Browse the repository at this point in the history
  • Loading branch information
forgetso committed Oct 2, 2024
1 parent 5f83fc1 commit 73137bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/lint/src/license.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const searchPaths = [

const cmd = z.string().parse(process.argv[2]);
const currentPath = z.string().parse(process.argv[3]);
const ignore = z.string().parse(process.argv[4]).split(",");
const ignore = z.string().default("").parse(process.argv[4]).split(",");

const files = fg
.sync(searchPaths, {
Expand Down

0 comments on commit 73137bc

Please sign in to comment.