Fix env var import extra empty value

This commit is contained in:
Neil MacDougall 2021-11-23 12:28:55 +00:00
parent 09b6a60378
commit 01a86c8a06
1 changed files with 5 additions and 2 deletions

View File

@ -366,9 +366,12 @@ export default {
const lines = value.split('\n');
lines.forEach((line) => {
const [key, value] = line.split('=');
// Ignore empty lines
if (line.length) {
const [key, value] = line.split('=');
this.add(key, value);
this.add(key, value);
}
});
}
},