Merge pull request #53 from matth/master

Blank line in Procfile breaks Foreman
This commit is contained in:
David Dollar
2011-08-22 14:27:03 -07:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class Foreman::Engine
@processes ||= begin
@order = []
procfile.split("\n").inject({}) do |hash, line|
next if line.strip == ""
next hash if line.strip == ""
name, command = line.split(/ *: +/, 2)
unless command
warn_deprecated_procfile!