Skip to content

Commit

Permalink
correcting function call for runtime preview
Browse files Browse the repository at this point in the history
  • Loading branch information
sparrow1303 committed Nov 27, 2024
1 parent 7c88ce6 commit 086105d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/client/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export async function activate(
if(artemisResponse!==null && PreviewSite.isSiteRuntimePreviewEnabled()) {
websiteURL = await PreviewSite.getWebSiteURL(workspaceFolders, artemisResponse?.stamp, orgDetails.EnvironmentId, _telemetry);
}
await registerPreviewShowCommand();

})
);
Expand Down Expand Up @@ -298,9 +299,6 @@ export async function activate(
}
};

await registerPreviewShowCommand();


const workspaceFolderWatcher = vscode.workspace.onDidChangeWorkspaceFolders(handleWorkspaceFolderChange);
_context.subscriptions.push(workspaceFolderWatcher);

Expand Down

0 comments on commit 086105d

Please sign in to comment.