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 7, 2024
1 parent de3d605 commit e479fb7
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 @@ -54,3 +54,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 @@ -74,3 +74,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 e479fb7

Please sign in to comment.