Skip to content

Commit 05697c7

Browse files
committed
fix: clear decorator
1 parent 1835f61 commit 05697c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/config/env.validation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Environment, LogLevel, LogFormat } from './interfaces';
66
const toNumber =
77
({ defaultValue }) =>
88
({ value }) => {
9-
if (value === '' || value == null || value === undefined) return defaultValue;
9+
if (value === '' || value == null) return defaultValue;
1010
return Number(value);
1111
};
1212

0 commit comments

Comments
 (0)