Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit a5ff9ac

Browse files
committed
chore: use raw value on condition
1 parent 409f649 commit a5ff9ac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/commands/handlers.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { CacheProvider } from '../providers/cache-provider';
99
import { testdata } from '../store/testdata';
1010
import { OutputChannel } from '../providers/outputChannel';
1111
import { ConfigProvider } from '../providers/config-provider';
12-
import { inspect } from 'util';
1312

1413
const { USE_NEW_CONFIG: isUseNewConfig } = process.env;
1514

@@ -174,7 +173,7 @@ export default class Commands {
174173
'load stored rule configurations',
175174
ruleConfig
176175
);
177-
if (isUseNewConfig) {
176+
if (isUseNewConfig === 'true') {
178177
// load and use config
179178
const configProvider = new ConfigProvider();
180179
ruleConfig = await configProvider.loadConfig(rootPath.fsPath);

0 commit comments

Comments
 (0)