Skip to content

Commit 2bbb2c6

Browse files
committed
test: test
1 parent 9912bca commit 2bbb2c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/config/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function normalizeTracingEnabled({ userConfig = {}, defaultConfig = {}, finalCon
335335

336336
// The env var is TRACING_DISABLE, so we need to invert it when it comes from env
337337
// TODO: Consider adding this normalization support to util.resolver
338-
const finalValue = source === CONFIG_SOURCES.ENV ? !value : value;
338+
const finalValue = source === CONFIG_SOURCES.ENV && isBooleanValue ? !value : value;
339339

340340
configStore.set('config.tracing.enabled', { source });
341341
finalConfig.tracing.enabled = finalValue;

0 commit comments

Comments
 (0)