Skip to content

Commit

Permalink
Corrections after the master merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulDalek committed Apr 3, 2024
1 parent b82a61a commit 8c405da
Show file tree
Hide file tree
Showing 6 changed files with 8,332 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run eslint-check
npm run lint
npm run unit:test
4 changes: 2 additions & 2 deletions dist/index.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.esm.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/envs.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ export const Config = z.object({
LOGGING_LEVEL: z.coerce
.number()
.optional()
.refine((val) => (val || 4) >= 0 && (val || 4) <= 4, {
.refine((val) => (val || 5) >= 0 && (val || 5) <= 5, {
message:
'Invalid value for LOGGING_LEVEL. We only accept 0, 1, 2, 3, 4 as logging levels.'
'Invalid value for LOGGING_LEVEL. We only accept 0, 1, 2, 3, 4, 5 as logging levels.'
}),
LOGGING_FILE: z.string().optional(),
LOGGING_DEST: z.string().optional(),
Expand Down
Loading

0 comments on commit 8c405da

Please sign in to comment.