Skip to content

Commit

Permalink
Whatever
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri6037 committed Jul 31, 2023
1 parent 0eabcc4 commit 992ad47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rustfmt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ const rustfmt = async (
args: string = core.getInput("args"),
toolchain = core.getInput("toolchain")
): Promise<string[]> => {
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) =>
Expand Down

0 comments on commit 992ad47

Please sign in to comment.