diff options
Diffstat (limited to 'prettier/util.ts')
-rw-r--r-- | prettier/util.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prettier/util.ts b/prettier/util.ts index 0be583f75..425cbfe96 100644 --- a/prettier/util.ts +++ b/prettier/util.ts @@ -2,7 +2,7 @@ const { platform, run } = Deno; // Runs a command in cross-platform way -export function xrun(opts) { +export function xrun(opts): Deno.Process { return run({ ...opts, args: platform.os === "win" ? ["cmd.exe", "/c", ...opts.args] : opts.args |