Skip to content

Commit

Permalink
don't destroy everybody's state :)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvms committed Dec 4, 2023
1 parent 766a49a commit e5f4105
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion extension/dist/extension.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions extension/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ export const promptSetProviderKey = async (provider: string) => {
export function activate(context: vscode.ExtensionContext) {
State.create(context);

// const stateCreated = State.get(stateKeys.stateCreated());
const stateCreated = State.get(stateKeys.stateCreated());

// if (!stateCreated) {
if (!stateCreated) {
createState();
// }
}

// Then decide to show the welcome wizard.
// const showWizard = State.get(stateKeys.welcomeWizard());
Expand Down

0 comments on commit e5f4105

Please sign in to comment.