Skip to content

Commit

Permalink
chore(render.js): display interpolated environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lotem committed Feb 21, 2018
1 parent 75999ec commit 0f12562
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions render.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ var variable;
for (var i = 1; i < WScript.Arguments.length; i++) {
variable = WScript.Arguments(i);
params[variable] = env(variable);
WScript.Echo(variable + "=" + params[variable]);
}
Render(filename, params);
WScript.Echo("Generated " + filename);

0 comments on commit 0f12562

Please sign in to comment.