Skip to content

Commit

Permalink
fix(utils): allow undefined input in isTrueEnvValue (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValeraS authored Sep 1, 2023
1 parent 86763d5 commit 41fb0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils/is-true-env.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export function isTrueEnvValue(input: string) {
export function isTrueEnvValue(input: string | undefined) {
return input === '1' || input === 'true';
}

0 comments on commit 41fb0d4

Please sign in to comment.