mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Mark addMissingAwait
as a preferred fix
This commit is contained in:
parent
d4b3a7a22f
commit
049e4ca16d
|
@ -314,6 +314,7 @@ const preferredFixes = new Set([
|
|||
'forgottenThisPropertyAccess',
|
||||
'spelling',
|
||||
'unusedIdentifier',
|
||||
'addMissingAwait',
|
||||
]);
|
||||
function isPreferredFix(tsAction: Proto.CodeFixAction): boolean {
|
||||
return preferredFixes.has(tsAction.fixName);
|
||||
|
|
Loading…
Reference in a new issue