We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee94d96 commit 055cb23Copy full SHA for 055cb23
1 file changed
src/dotnet.ts
@@ -1,4 +1,4 @@
1
-import { readFile } from "fs/promises";
+import { promises } from "fs";
2
import { resolve } from "path";
3
4
import {
@@ -14,6 +14,8 @@ import { getPullRequestFiles } from "./files";
14
15
import type { DotNetFormatVersion } from "./version";
16
17
+const { readFile } = promises;
18
+
19
export type FormatFunction = (options: FormatOptions) => Promise<boolean>;
20
21
export interface FormatOptions {
0 commit comments