Skip to content

Commit

Permalink
Fix Command failed with status 127 (ashfurrow#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasCombe5555 committed Sep 7, 2021
1 parent e329b47 commit 48a8a2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/swiftlint/Rakefile
Expand Up @@ -12,10 +12,11 @@ namespace :swiftlint do
ASSET = 'portable_swiftlint.zip'
URL = "#{REPO}/releases/download/#{VERSION}/#{ASSET}"
DESTINATION = File.expand_path(File.join(File.dirname(__FILE__), 'bin'))
SCRIPT_PATH = File.expand_path(File.join(File.dirname(__FILE__)))
SWIFTLINT_MD5_HASH = DangerSwiftlint::SWIFTLINT_HASH

puts "Downloading swiftlint@#{VERSION}"
sh "sh downloadSwiftlint.sh -u #{URL} -d #{DESTINATION} -a #{ASSET} -dh #{SWIFTLINT_MD5_HASH}"
sh "sh #{SCRIPT_PATH}/downloadSwiftlint.sh -u #{URL} -d #{DESTINATION} -a #{ASSET} -dh #{SWIFTLINT_MD5_HASH}"
end
end

Expand Down

0 comments on commit 48a8a2b

Please sign in to comment.