Skip to content

Commit

Permalink
style(cartesi): break long line
Browse files Browse the repository at this point in the history
  • Loading branch information
tuler committed Sep 6, 2024
1 parent a85803d commit 6e98593
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/cartesi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def install
bin.install_symlink Dir["#{libexec}/bin/*"]

# use node installed by the "node" formula instead of the PATH one
inreplace libexec/"lib/node_modules/@cartesi/cli/bin/run.js", "#!/usr/bin/env node", "#!#{Formula["node"].opt_bin}/node"
inreplace libexec/"lib/node_modules/@cartesi/cli/bin/run.js", "#!/usr/bin/env node",
"#!#{Formula["node"].opt_bin}/node"
end

test do

Check warning on line 25 in Formula/cartesi.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

`brew test --verbose cartesi/tap/cartesi` failed on Linux!

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/bundle clean ==> Testing cartesi/tap/cartesi Error: cartesi/tap/cartesi: failed ::error::cartesi/tap/cartesi: failed An exception occurred within a child process: RuntimeError: Test not implemented. /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/cartesi/homebrew-tap/Formula/cartesi.rb:32:in `block in <class:Cartesi>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2800:in `block (3 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:536:in `with_env' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2799:in `block (2 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1193:in `with_logging' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2798:in `block in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:3116:in `mktemp' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2792:in `run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:48:in `block in <main>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:52:in `<main>'

Check warning on line 25 in Formula/cartesi.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

`brew test --verbose cartesi/tap/cartesi` failed on macOS Ventura (13)!

/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/bundle clean ==> Testing cartesi/tap/cartesi Error: cartesi/tap/cartesi: failed ::error::cartesi/tap/cartesi: failed An exception occurred within a child process: RuntimeError: Test not implemented. /usr/local/Homebrew/Library/Taps/cartesi/homebrew-tap/Formula/cartesi.rb:32:in `block in <class:Cartesi>' /usr/local/Homebrew/Library/Homebrew/formula.rb:2800:in `block (3 levels) in run_test' /usr/local/Homebrew/Library/Homebrew/extend/kernel.rb:536:in `with_env' /usr/local/Homebrew/Library/Homebrew/formula.rb:2799:in `block (2 levels) in run_test' /usr/local/Homebrew/Library/Homebrew/formula.rb:1193:in `with_logging' /usr/local/Homebrew/Library/Homebrew/formula.rb:2798:in `block in run_test' /usr/local/Homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /usr/local/Homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /usr/local/Homebrew/Library/Homebrew/mktemp.rb:75:in `run' /usr/local/Homebrew/Library/Homebrew/formula.rb:3116:in `mktemp' /usr/local/Homebrew/Library/Homebrew/formula.rb:2792:in `run_test' /usr/local/Homebrew/Library/Homebrew/test.rb:48:in `block in <main>' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /usr/local/Homebrew/Library/Homebrew/test.rb:52:in `<main>'

Check warning on line 25 in Formula/cartesi.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew test --verbose cartesi/tap/cartesi` failed on macOS Sonoma (14) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/bin/bundle clean ==> Testing cartesi/tap/cartesi Error: cartesi/tap/cartesi: failed ::error::cartesi/tap/cartesi: failed An exception occurred within a child process: RuntimeError: Test not implemented. /opt/homebrew/Library/Taps/cartesi/homebrew-tap/Formula/cartesi.rb:32:in `block in <class:Cartesi>' /opt/homebrew/Library/Homebrew/formula.rb:2800:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:536:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2799:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1193:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2798:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run' /opt/homebrew/Library/Homebrew/formula.rb:3116:in `mktemp' /opt/homebrew/Library/Homebrew/formula.rb:2792:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:48:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4_1/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:52:in `<main>'
Expand Down

0 comments on commit 6e98593

Please sign in to comment.