mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Mark addMissingAwait as a preferred fix
This commit is contained in:
@@ -314,6 +314,7 @@ const preferredFixes = new Set([
|
||||
'forgottenThisPropertyAccess',
|
||||
'spelling',
|
||||
'unusedIdentifier',
|
||||
'addMissingAwait',
|
||||
]);
|
||||
function isPreferredFix(tsAction: Proto.CodeFixAction): boolean {
|
||||
return preferredFixes.has(tsAction.fixName);
|
||||
|
||||
Reference in New Issue
Block a user