Skip to content

Commit

Permalink
fix: ensures cli undefined booleans dont override users config
Browse files Browse the repository at this point in the history
fix: ensures cli undefined booleans dont override users config
  • Loading branch information
eglavin committed Apr 19, 2024
2 parents 25870a1 + e504890 commit bfe93a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/config/cli-arguments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Options:
`,
{
importMeta: import.meta,
booleanDefault: undefined,
flags: {
path: { type: "string", default: process.cwd() },
changelog: { type: "string" },
Expand Down
1 change: 1 addition & 0 deletions tests/create-test-directory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export function createTestDir(testName: string) {
{ type: "test", section: "Test" },
],
};
config.gitTagFallback = false;

const logger = new Logger({ silent: true, debug: false, inspectVersion: false });
logger.log = vi.fn();
Expand Down

0 comments on commit bfe93a3

Please sign in to comment.