Skip to content

Commit 1c2ce16

Browse files
committed
getConfig: update to constant case
1 parent c98ad97 commit 1c2ce16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/utils/getConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface GetConfigOptions {
1717
throwErrorIfNotFound?: boolean;
1818
}
1919

20-
const defaultGetConfigOptions: GetConfigOptions = {
20+
const DEFAULT_GET_CONFIG_OPTIONS: GetConfigOptions = {
2121
warn: !isTestEnvironment,
2222
nullishString: false,
2323
throwErrorIfNotFound: false
@@ -44,7 +44,7 @@ export function getConfig(
4444

4545
// override default options with param options
4646
const { warn, nullishString, throwErrorIfNotFound } = {
47-
...defaultGetConfigOptions,
47+
...DEFAULT_GET_CONFIG_OPTIONS,
4848
...options
4949
};
5050

0 commit comments

Comments
 (0)