Permalink
Browse files

Warn on Unmatched Variable Substitutions in Procfile

  • Loading branch information...
1 parent f76afc9 commit 5373d4016281254af82afe14e6b7d9030ef26504 @groundwater groundwater committed Feb 13, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/procfile.js
View
@@ -49,6 +49,10 @@ function procs(procdata,envs){
args[i] = replaceVar(args[i], key, _process.env[key]);
}
}
+
+ // Warn on unmatched substitutions
+ if(args[i].match(/^\$\S+/)) cons.Warn('Unresovled Substitution in %s:',prockey,args[i]);
+
}
var process = {

0 comments on commit 5373d40

Please sign in to comment.