Fixed dotenv parser changed to equals

This commit is contained in:
Sambo Chea 2021-03-24 15:10:11 +07:00
parent f24fb114f0
commit be0a698d14

View File

@ -24,7 +24,7 @@ class DotenvParser {
/// Parses a single line into a key-value pair.
@visibleForTesting
Map<String, String> parseOne(String line,
{Map<String, String> env: const {}}) {
{Map<String, String> env = const {}}) {
var stripped = strip(line);
if (!_isValid(stripped)) return {};