Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Unless applying this fix for #5, now the tap cannot even be imported..
It looks like Brew has become more strict in checking syntax errors in (imported) formulas, as the following are errors I get when trying to (unsuccessfully) tap this repo (after having untapped it):
$ brew tap sdkman/tap
==> Tapping sdkman/tap
Cloning into '/opt/homebrew/Library/Taps/sdkman/homebrew-tap'...
remote: Enumerating objects: 55, done.
remote: Counting objects: 100% (55/55), done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 55 (delta 16), reused 39 (delta 0), pack-reused 0
Receiving objects: 100% (55/55), 10.36 KiB | 3.45 MiB/s, done.
Resolving deltas: 100% (16/16), done.
Error: Invalid formula (sonoma): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (arm64_sonoma): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (ventura): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (arm64_ventura): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (monterey): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (arm64_monterey): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (big_sur): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (arm64_big_sur): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (catalina): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (mojave): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (high_sierra): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (sierra): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (el_capitan): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Invalid formula (x86_64_linux): /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
No available formula with the name "sdkmancli". Did you mean sdkman-cli?
In formula file: /opt/homebrew/Library/Taps/sdkman/homebrew-tap/Formula/sdkmancli.rb
Expected to find class Sdkmancli, but only found: SdkmanCli.
Error: Cannot tap sdkman/tap: invalid syntax in tap!