Skip to content

Commit

Permalink
Merge pull request #133 from januszm/master
Browse files Browse the repository at this point in the history
Fix for parsing ls output in detect_manifest_path
  • Loading branch information
kirs committed Jan 19, 2016
2 parents 384a6b4 + d578360 commit c0be43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/assets.rake
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ namespace :deploy do
manifest*.*
).each do |pattern|
candidate = release_path.join('public', fetch(:assets_prefix), pattern)
return capture(:ls, candidate).strip if test(:ls, candidate)
return capture(:ls, candidate).strip.gsub(/(\r|\n)/,' ') if test(:ls, candidate)
end
msg = 'Rails assets manifest file not found.'
warn msg
Expand Down

0 comments on commit c0be43d

Please sign in to comment.