Skip to content

Commit

Permalink
fix: position variable
Browse files Browse the repository at this point in the history
Signed-off-by: lstocchi <lstocchi@redhat.com>
  • Loading branch information
lstocchi committed Aug 21, 2024
1 parent c3aab77 commit 7ca974a
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 @@ -226,10 +226,10 @@ function registerProviderConnectionFactory(
justInitialized = true;
},
create: async (params, logger) => {
justInitialized = false;
await presetChanged(provider, extensionContext, telemetryLogger);
await saveConfig(params);
if (params['crc.factory.start.now'] || justInitialized) {
justInitialized = false;
await connectToCrc();
await createCrcVm(provider, extensionContext, telemetryLogger, logger);
}
Expand Down

0 comments on commit 7ca974a

Please sign in to comment.