Fixed dotenv parser changed to equals
This commit is contained in:
parent
f24fb114f0
commit
be0a698d14
@ -24,7 +24,7 @@ class DotenvParser {
|
|||||||
/// Parses a single line into a key-value pair.
|
/// Parses a single line into a key-value pair.
|
||||||
@visibleForTesting
|
@visibleForTesting
|
||||||
Map<String, String> parseOne(String line,
|
Map<String, String> parseOne(String line,
|
||||||
{Map<String, String> env: const {}}) {
|
{Map<String, String> env = const {}}) {
|
||||||
var stripped = strip(line);
|
var stripped = strip(line);
|
||||||
if (!_isValid(stripped)) return {};
|
if (!_isValid(stripped)) return {};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user