lib/travis/tools/completion.rb in travis-1.10.0.pre.rc3 vs lib/travis/tools/completion.rb in travis-1.10.0.pre.rc4
- 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'].first, source)
+ File.write(Assets['travis.sh'], source)
end
end
end
end