Skip to content

Commit

Permalink
refactor for the validate-build
Browse files Browse the repository at this point in the history
  • Loading branch information
alicewriteswrongs committed Oct 25, 2022
1 parent f248586 commit ddc8972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/config-flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export const CLI_FLAG_ALIASES: AliasMap = {
* A regular expression which can be used to match a CLI flag for one of our
* short aliases.
*/
export const CLI_FLAG_REGEX = new RegExp(`^-[${Object.keys(CLI_FLAG_ALIASES).map((k) => k)}]{1}$`);
export const CLI_FLAG_REGEX = new RegExp(`^-[chpv]{1}$`);

/**
* Given two types `K` and `T` where `K` extends `ReadonlyArray<string>`,
Expand Down

0 comments on commit ddc8972

Please sign in to comment.