Skip to content

Commit 47592b2

Browse files
allow async formatters
1 parent ec374ca commit 47592b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/normalize.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { CommandContext, setCommandContext } from './constants';
33

44
interface CodeNormalizer {
55
isRelevant: (u: Uri) => boolean;
6-
normalize: (code: string, uri: Uri) => string;
6+
normalize: (code: string, uri: Uri) => string | Promise<string>;
77
}
88

99
const normalizers: CodeNormalizer[] = [];

0 commit comments

Comments
 (0)