Skip to content

Commit

Permalink
Omit default args on normalization for autify-with-proxy args
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsmfm committed Jul 7, 2023
1 parent a5d2305 commit 95f8a87
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion integration-test/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,9 @@ const replaceConstants = (args: string[]) => {
return args;
};

const DEFAULT_ARGUMENTS = new Set(["-t=300"]);

export const normalizeCommand = (args: string[]): string[] =>
replaceConstants(concatFlagAndValue(args));
replaceConstants(concatFlagAndValue(args)).filter(
(arg) => !DEFAULT_ARGUMENTS.has(arg)
);

0 comments on commit 95f8a87

Please sign in to comment.