diff --git a/src/util.ts b/src/util.ts index fa562f5849..94a3a57f3c 100644 --- a/src/util.ts +++ b/src/util.ts @@ -396,13 +396,15 @@ export const parseDotenv = (content: string): NodeJS.ProcessEnv => { } if (c === '"' || c === "'" || c === '`') { + if (!q) { + q = c + continue + } if (q === c) { q = '' cap() continue } - q = c - continue } b += c }