From 4e92a92367ff9dc72b4c0c7fda2a5526dd80139a Mon Sep 17 00:00:00 2001 From: Maxime Mangel Date: Tue, 19 Nov 2024 17:50:58 +0100 Subject: [PATCH] chore: revert run husky with `--allow-roll-forward` --- .husky/pre-commit | 6 +++--- src/Fable.Build/Main.fs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 43acb85705..d0803d31b2 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -19,6 +19,6 @@ ## or put your custom commands ------------------- #echo 'Husky.Net is awesome!' -dotnet husky run --allow-roll-forward --name fantomas-format-staged-files -dotnet husky run --allow-roll-forward --name ruff-format-staged-files -dotnet husky run --allow-roll-forward --name lint-markdown-staged-files +dotnet husky run --name fantomas-format-staged-files +dotnet husky run --name ruff-format-staged-files +dotnet husky run --name lint-markdown-staged-files diff --git a/src/Fable.Build/Main.fs b/src/Fable.Build/Main.fs index c042a318f0..db0ae5a746 100644 --- a/src/Fable.Build/Main.fs +++ b/src/Fable.Build/Main.fs @@ -108,7 +108,7 @@ let main argv = let argv = argv |> Array.map (fun x -> x.ToLower()) |> Array.toList SimpleExec.Command.Run(name = "dotnet", args = "tool restore") - SimpleExec.Command.Run(name = "dotnet", args = "husky install --allow-roll-forward") + SimpleExec.Command.Run(name = "dotnet", args = "husky install") try match argv with