lib/travis/tools/completion.rb in travis-1.9.2.travis.1236.9 vs lib/travis/tools/completion.rb in travis-1.9.2.travis.1254.9
- old
+ new
@@ -45,10 +45,10 @@
def compile
commands = Travis::CLI.commands.sort_by { |c| c.command_name }
template = Assets.read('travis.sh.erb')
source = ERB.new(template).result(binding).gsub(/^ +\n/, '')
- File.write(Assets['travis.sh'], source)
+ File.write(Assets['travis.sh'].first, source)
end
end
end
end