mirror of
https://github.com/louislam/dockge.git
synced 2025-08-13 16:07:28 +02:00
Compare commits
1 Commits
revert-303
...
fix-env3
Author | SHA1 | Date | |
---|---|---|---|
9bde02faf6 |
@ -385,7 +385,11 @@ function traverseYAML(pair : Pair, env : DotenvParseOutput) : void {
|
|||||||
if (item instanceof Pair) {
|
if (item instanceof Pair) {
|
||||||
traverseYAML(item, env);
|
traverseYAML(item, env);
|
||||||
} else if (item instanceof Scalar) {
|
} else if (item instanceof Scalar) {
|
||||||
item.value = envsubst(item.value, env);
|
let value = item.value as unknown;
|
||||||
|
|
||||||
|
if (typeof(value) === "string") {
|
||||||
|
item.value = envsubst(value, env);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
Reference in New Issue
Block a user