diff --git a/src/rustfmt.ts b/src/rustfmt.ts index 46fe80da..611b2a83 100644 --- a/src/rustfmt.ts +++ b/src/rustfmt.ts @@ -9,8 +9,7 @@ const rustfmt = async ( args: string = core.getInput("args"), toolchain = core.getInput("toolchain") ): Promise => { - if (!toolchain || toolchain.length == 0) - toolchain = "stable"; + if (!toolchain || toolchain.length == 0) toolchain = "stable"; output.splice(0, output.length); return Cargo.get() .then(async (cargo) =>