Skip to content

Commit

Permalink
Refresh config when fetching after update
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinGrote committed Sep 12, 2024
1 parent 09ea8ad commit fd90f40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/features/RenameSymbol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ export class RenameSymbolFeature extends LanguageClientConsumer implements Renam
}
}

return config.get<boolean>("powershell.renameSymbol.acceptRenameDisclaimer", false);
// Refresh the config to ensure it was set
return vscode.workspace.getConfiguration().get<boolean>("powershell.renameSymbol.acceptRenameDisclaimer", false);
}

public dispose(): void {
Expand Down

0 comments on commit fd90f40

Please sign in to comment.