Skip to content

Commit

Permalink
Merge pull request #31 from gorangajic/read-env-fix
Browse files Browse the repository at this point in the history
remove \r if found
  • Loading branch information
benoror committed Jan 31, 2016
2 parents 7b302bc + 1b05e08 commit 97718bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dot-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ try {
if (!line) {
return;
}
line = line.replace('\r', '');
line = line.split('=');
env[line[0]] = line[1];
});
Expand Down

0 comments on commit 97718bd

Please sign in to comment.