Skip to content

Commit

Permalink
Merge pull request #268 from ifad/chore/fix-safe-hash-syntax-offenses
Browse files Browse the repository at this point in the history
Fix safe Style/HashSyntax offenses
  • Loading branch information
tagliala authored Sep 13, 2024
2 parents dc8edb9 + ee8c61c commit a782f7c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions .rubocop_todo.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/heathen/executioner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _execute(*argv, options)
command = argv.shift

Open3.popen3(ENV, [command, "heathen: #{command}"], *argv,
:chdir => options[:dir] || Dir.getwd
chdir: options[:dir] || Dir.getwd
) do |stdin, stdout, stderr, wait_thr|
pid = wait_thr[:pid]
logger.info "[#{pid}] spawn '#{command} #{argv.join(' ')}'"
Expand Down
2 changes: 1 addition & 1 deletion unicorn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

# Specify path to socket unicorn listens to,
# we will use this in our nginx.conf later
listen @dir + '.unicorn.sock', :backlog => 64
listen @dir + '.unicorn.sock', backlog: 64

# Set process id path
pid @dir + 'tmp' + 'pids' + 'unicorn.pid'
Expand Down

0 comments on commit a782f7c

Please sign in to comment.