@onebun/envs 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/helpers.ts +1 -1
package/package.json
CHANGED
package/src/helpers.ts
CHANGED
|
@@ -242,7 +242,7 @@ export const Env = {
|
|
|
242
242
|
*/
|
|
243
243
|
port(errorMessage?: string): (value: number) => Effect.Effect<number, EnvValidationError> {
|
|
244
244
|
return (value: number) => {
|
|
245
|
-
// eslint-disable-next-line no-magic-numbers
|
|
245
|
+
// eslint-disable-next-line @typescript-eslint/no-magic-numbers
|
|
246
246
|
if (!Number.isInteger(value) || value < 1 || value > 65535) {
|
|
247
247
|
return Effect.fail(
|
|
248
248
|
new EnvValidationError(
|