Merge pull request #69 from greinacker/whitespace

Whitespace in Procfile
This commit is contained in:
David Dollar
2011-09-12 11:39:10 -07:00
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class Foreman::Engine
@order = []
procfile.split("\n").inject({}) do |hash, line|
next hash if line.strip == ""
name, command = line.split(/ *: +/, 2)
name, command = line.split(/\s*:\s+/, 2)
unless command
warn_deprecated_procfile!
name, command = line.split(/ +/, 2)