Skip to content

Commit 15e916e

Browse files
committed
only one codefix
1 parent 5dfb0c5 commit 15e916e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: tests/cases/fourslash/codeFixAwaitInSyncFunction2.ts

-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22

33
////const f = function() {
44
//// await Promise.resolve();
5-
//// await Promise.resolve();
65
////}
76

87
verify.codeFix({
98
description: "Convert to async",
109
newFileContent:
1110
`const f = async function() {
1211
await Promise.resolve();
13-
await Promise.resolve();
1412
}`,
1513
});

0 commit comments

Comments
 (0)