Skip to content

Commit

Permalink
src: ignore export before key
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyasShabiCS committed Jan 23, 2024
1 parent 512c56a commit 4c11ddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/fixtures/dotenv/valid.env
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ STRING`
MULTI_NOT_VALID_QUOTE="
MULTI_NOT_VALID=THIS
IS NOT MULTILINE
export EXAMPLE = ignore export
1 change: 1 addition & 0 deletions test/parallel/test-dotenv.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,4 @@ assert.strictEqual(process.env.MULTI_SINGLE_QUOTED, 'THIS\nIS\nA\nMULTILINE\nSTR
assert.strictEqual(process.env.MULTI_BACKTICKED, 'THIS\nIS\nA\n"MULTILINE\'S"\nSTRING');
assert.strictEqual(process.env.MULTI_NOT_VALID_QUOTE, '"');
assert.strictEqual(process.env.MULTI_NOT_VALID, 'THIS');
assert.strictEqual(process.env.EXAMPLE, 'ignore export');

0 comments on commit 4c11ddc

Please sign in to comment.