diff --git a/.husky/pre-commit b/.husky/pre-commit index d0803d31b2..43acb85705 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 --name fantomas-format-staged-files -dotnet husky run --name ruff-format-staged-files -dotnet husky run --name lint-markdown-staged-files +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 diff --git a/src/Fable.Build/Main.fs b/src/Fable.Build/Main.fs index db0ae5a746..c042a318f0 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") + SimpleExec.Command.Run(name = "dotnet", args = "husky install --allow-roll-forward") try match argv with