Skip to content

Commit

Permalink
♻️ (config.ts): refactor OCO_AZURE_ENDPOINT default value from empty …
Browse files Browse the repository at this point in the history
…string to undefined resolving di-sukharev#352 - creates invalid config file
  • Loading branch information
izzybps committed Jul 31, 2024
1 parent a80dcb0 commit 184147d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export const getConfig = ({
OCO_GITPUSH: process.env.OCO_GITPUSH === 'false' ? false : true,
OCO_ONE_LINE_COMMIT:
process.env.OCO_ONE_LINE_COMMIT === 'true' ? true : false,
OCO_AZURE_ENDPOINT: process.env.OCO_AZURE_ENDPOINT || '',
OCO_AZURE_ENDPOINT: process.env.OCO_AZURE_ENDPOINT || undefined,
OCO_TEST_MOCK_TYPE: process.env.OCO_TEST_MOCK_TYPE || 'commit-message'
};

Expand Down

0 comments on commit 184147d

Please sign in to comment.