Skip to content

Commit d46188a

Browse files
committed
refactor: remove unnecessary type declare
1 parent af5379b commit d46188a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export async function injectEnv(config: string | Record<PropertyKey, any>, notFo
99
// Use simple regex replace for now, will see if object traversal and recursion is needed here (e.g: for non-serializable objects)
1010

1111
const isObject = typeof config === "object"
12-
let _config: string = isObject ? JSON.stringify(config) : config
12+
let _config = isObject ? JSON.stringify(config) : config
1313

1414
_config = _config.replace(/\$\{env:([\w\.]+)\}/g, (_, name) => {
1515
// Check if null or undefined

0 commit comments

Comments
 (0)