From ae39fa15e27257c329e8ff1ae497793709edcd74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=BB=D0=B0=D0=B2=D0=B0=20=D0=A3=D0=BA=D1=80=D0=B0?= =?UTF-8?q?=D1=97=D0=BD=D1=96!=20=D0=93=D0=B5=D1=80=D0=BE=D1=8F=D0=BC=20?= =?UTF-8?q?=D1=81=D0=BB=D0=B0=D0=B2=D0=B0!?= <777696+ncave@users.noreply.github.com> Date: Fri, 15 Nov 2024 19:31:26 +0000 Subject: [PATCH] Run husky with --allow-roll-forward (#3956) --- .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 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