Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e490ffc commit a89ed7dCopy full SHA for a89ed7d
packages/api/core/src/util/forge-config.ts
@@ -28,7 +28,7 @@ const proxify = <T extends ProxiedObject>(buildIdentifier: string | (() => strin
28
}
29
30
for (const [key, val] of Object.entries(proxifiedObject)) {
31
- if (typeof val === 'object' && key !== 'pluginInterface' && !(val instanceof RegExp)) {
+ if (typeof val === 'object' && (val.constructor === Object || val.constructor === Array) && key !== 'pluginInterface' && !(val instanceof RegExp)) {
32
(newObject as any)[key] = proxify(buildIdentifier, (proxifiedObject as any)[key], `${envPrefix}_${underscoreCase(key)}`);
33
} else {
34
(newObject as any)[key] = (proxifiedObject as any)[key];
0 commit comments