bin/zold-stress in zold-stress-0.6.0 vs bin/zold-stress in zold-stress-0.7.0

- old
+ new

@@ -1,9 +1,9 @@ #!/usr/bin/env ruby # frozen_string_literal: true -# Copyright (c) 2018 Yegor Bugayenko +# Copyright (c) 2018-2019 Yegor Bugayenko # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the 'Software'), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell @@ -90,9 +90,11 @@ if opts.help? log.info(opts.to_s) exit end + + Zold::Hands.start home = File.expand_path(opts[:home]) FileUtils.mkdir_p(home) Dir.chdir(home)