We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents daa1936 + 5365f2c commit 7c80800Copy full SHA for 7c80800
Formula/f/firebase-cli.rb
@@ -23,7 +23,11 @@ def install
23
end
24
25
test do
26
- assert_match "Failed to authenticate", shell_output("#{bin}/firebase init", 1)
+ # Skip `firebase init` on self-hosted Linux as it has different behavior with nil exit status
27
+ if !OS.linux? || ENV["GITHUB_ACTIONS_HOMEBREW_SELF_HOSTED"].blank?
28
+ assert_match "Failed to authenticate", shell_output("#{bin}/firebase init", 1)
29
+ end
30
+
31
output = pipe_output("#{bin}/firebase login:ci --interactive --no-localhost", "dummy-code")
32
assert_match "Unable to authenticate", output
33
0 commit comments