Skip to content

Commit

Permalink
fix: run crc initialization after cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Golovin <[email protected]>
  • Loading branch information
dgolovin committed Aug 20, 2024
1 parent 3028eb9 commit 42399a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ async function createCrcVm(
return;
}

if (!isNeedSetup()) {
if (isNeedSetup()) {
const initResult = await initializeCrc(provider, extensionContext, telemetryLogger, logger);
if (!initResult) {
throw new Error(`${productName} not initialized.`);
Expand Down

0 comments on commit 42399a2

Please sign in to comment.