Skip to content

Commit

Permalink
pass another test by using "" as the undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Apr 15, 2013
1 parent 42b5f83 commit 46e6cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ exports.parse = function (s, env) {
;
}
function getVar (_, pre, key) {
return pre + String(env[key]);
return pre + String(env[key] || '');
}
};

0 comments on commit 46e6cf4

Please sign in to comment.