diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-04-25 21:58:30 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-04-29 13:40:37 -0700 |
commit | 426b594a261fde43cad39e5beb1decb0ec515b20 (patch) | |
tree | aa6b5d52896ea78f57b89880175d58e9ec5d526f | |
parent | cdb14b782e82e97cf27ce79c736dbb4533a37c4f (diff) | |
download | chef-426b594a261fde43cad39e5beb1decb0ec515b20.tar.gz |
chefstyle
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | chef-binstubs/Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-binstubs/Rakefile b/chef-binstubs/Rakefile index 9f61cd8a5e..100f923553 100644 --- a/chef-binstubs/Rakefile +++ b/chef-binstubs/Rakefile @@ -8,7 +8,7 @@ Bundler::GemHelper.install_tasks desc "force install the chef-binstubs gem" task "install:force" do sh "gem build -V chef-binstubs.gemspec" - built_gem_path = Dir["chef-binstubs-*.gem"].sort_by {|f| File.mtime(f) }.last + built_gem_path = Dir["chef-binstubs-*.gem"].sort_by { |f| File.mtime(f) }.last FileUtils.mkdir_p("pkg") unless Dir.exist?("pkg") FileUtils.mv(built_gem_path, "pkg") sh "gem install -f pkg/#{built_gem_path}" |