Skip to content

Commit

Permalink
Use CWD if no workdir is given.
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenk committed May 11, 2016
1 parent f986e15 commit f5bf00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sidekiq_wrapper_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def parse_options(filename)
options[:workdir] = w
end
end.parse!
raise OptionParser::MissingArgument, '--workdir' if options[:workdir].nil?
options[:workdir] ||= Dir.pwd
options
end

Expand Down

0 comments on commit f5bf00c

Please sign in to comment.