Skip to content

Commit

Permalink
Add --no-server to rubocop call
Browse files Browse the repository at this point in the history
  • Loading branch information
azimux committed Mar 12, 2024
1 parent b37cb63 commit 3b6ae15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GIT

GIT
remote: https://github.com/foobara/files-generator.git
revision: a19a353c050fd802a53f1781c7c4d108a41a1544
revision: 8e9439014484892bb49a1d720399d924f853baea
specs:
foobara-files-generator (0.1.0)

Expand Down
2 changes: 1 addition & 1 deletion src/write_domain_to_disk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def run_post_generation_tasks

def rubocop_autocorrect
# :nocov:
Open3.popen3("bundle exec rubocop -A") do |_stdin, _stdout, stderr, wait_thr|
Open3.popen3("bundle exec rubocop --no-server -A") do |_stdin, _stdout, stderr, wait_thr|
exit_status = wait_thr.value
unless exit_status.success?
raise "could not rubocop -A. #{stderr.read}"
Expand Down

0 comments on commit 3b6ae15

Please sign in to comment.