Skip to content

Commit

Permalink
Run husky with --allow-roll-forward (#3956)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncave authored Nov 15, 2024
1 parent 935f05a commit ae39fa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/Fable.Build/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae39fa1

Please sign in to comment.