Skip to content

Commit 27f1f5c

Browse files
committed
fix(resolveConfig): resolveConfig: always convert any value to string
1 parent bd50cda commit 27f1f5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mongodb-memory-server-core/src/util/resolveConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export function resolveConfig(variableName: ResolveConfigVariables): string | un
9797
process.env[envName(variableName)] ??
9898
packageJsonConfig[camelCase(variableName)] ??
9999
defaultValues.get(variableName)
100-
);
100+
)?.toString();
101101
}
102102

103103
export default resolveConfig;

0 commit comments

Comments
 (0)