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 ce9aae2 commit cde829bCopy full SHA for cde829b
src/index.ts
@@ -369,7 +369,10 @@ function getConfig(userConfig?: Partial<Config>): Config {
369
370
if (userConfig === undefined || userConfig.localTesting === undefined) {
371
const result = getEnvValue(localTestingEnvVar, "false").toLowerCase();
372
- config.localTesting = result === "true";
+ // TODO deprecate 1 for truthy, this shouldn't have been allowed
373
+ // but the extension allows it, so we must as well
374
+ // @ts-ignore-next-line
375
+ config.localTesting = result === "true" || result === "1";
376
}
377
378
return config;
0 commit comments