Skip to content

Commit dcc2d07

Browse files
committed
fix: switch NODE_TS env verification
1 parent 49d69d7 commit dcc2d07

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@secjs/config",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "",
55
"license": "MIT",
66
"author": "João Lenon",

src/utils/global.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Path } from '@secjs/utils'
12
import { Config as ConfigInstance } from '../Config'
23

34
export {}
@@ -13,6 +14,8 @@ declare global {
1314

1415
const _global = global as any
1516

17+
Path.switchEnvVerify()
18+
1619
new ConfigInstance().loadSync()
1720

1821
_global.Config = ConfigInstance

0 commit comments

Comments
 (0)