Skip to content

Commit ae39fa1

Browse files
authored
Run husky with --allow-roll-forward (#3956)
1 parent 935f05a commit ae39fa1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.husky/pre-commit

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
## or put your custom commands -------------------
2020
#echo 'Husky.Net is awesome!'
2121

22-
dotnet husky run --name fantomas-format-staged-files
23-
dotnet husky run --name ruff-format-staged-files
24-
dotnet husky run --name lint-markdown-staged-files
22+
dotnet husky run --allow-roll-forward --name fantomas-format-staged-files
23+
dotnet husky run --allow-roll-forward --name ruff-format-staged-files
24+
dotnet husky run --allow-roll-forward --name lint-markdown-staged-files

src/Fable.Build/Main.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ let main argv =
108108
let argv = argv |> Array.map (fun x -> x.ToLower()) |> Array.toList
109109

110110
SimpleExec.Command.Run(name = "dotnet", args = "tool restore")
111-
SimpleExec.Command.Run(name = "dotnet", args = "husky install")
111+
SimpleExec.Command.Run(name = "dotnet", args = "husky install --allow-roll-forward")
112112

113113
try
114114
match argv with

0 commit comments

Comments
 (0)