From 1b05e08a4d5c5393855bcb7770be7239fa1f5b5a Mon Sep 17 00:00:00 2001 From: Goran Gajic Date: Fri, 13 Nov 2015 11:18:14 +0100 Subject: [PATCH] remove \r if found --- lib/dot-env.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dot-env.js b/lib/dot-env.js index feeab67..8aafa71 100644 --- a/lib/dot-env.js +++ b/lib/dot-env.js @@ -9,6 +9,7 @@ try { if (!line) { return; } + line = line.replace('\r', ''); line = line.split('='); env[line[0]] = line[1]; });