Skip to content
Snippets Groups Projects
Unverified Commit 681f5a59 authored by Issy Long's avatar Issy Long
Browse files

docs/Formula-Cookbook: Fix outdated HEAD hash syntax

- Using the previous syntax, `brew audit --strict` fails because this
  uses the old Ruby hash syntax.
parent 4444b70f
No related branches found
No related tags found
No related merge requests found
......@@ -577,10 +577,9 @@ To use a specific commit, tag, or branch from a repository, specify [`head`](htt
```ruby
class Foo < Formula
head "https://github.com/some/package.git", :revision => "090930930295adslfknsdfsdaffnasd13"
# or :branch => "develop" (the default is "master")
# or :tag => "1_0_release",
# :revision => "090930930295adslfknsdfsdaffnasd13"
head "https://github.com/some/package.git", revision: "090930930295adslfknsdfsdaffnasd13"
# or branch: "main" (the default is "master")
# or tag: "1_0_release", revision: "090930930295adslfknsdfsdaffnasd13"
end
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment