Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 139fbff

Browse files
committed
refactor: improve loadConfig function
1 parent fa37994 commit 139fbff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export async function loadConfig(workingDir: string): Promise<Config> {
101101
}
102102
if (util.isPlainObject(env)) {
103103
config.env = toPlainStringRecord(env)
104+
Object.entries(env).forEach(([key, value]) => Deno.env.set(key, value))
104105
}
105106
config.plugins = [
106107
util.isNEArray(plugins) ? plugins : [],

0 commit comments

Comments
 (0)