Skip to content

Commit

Permalink
Update src/node_dotenv.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <[email protected]>
  • Loading branch information
AugustinMauroy and aduh95 authored Feb 6, 2025
1 parent 846d920 commit 9c22923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_dotenv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ void Dotenv::ParseContent(const std::string_view input) {
// " "=value
if (key.empty()) continue;

// Remove export prefix from key and ensure proper spacing
// Remove export prefix from key and ensure proper spacing.
// Example: export FOO=bar -> FOO=bar
if (key.starts_with("export ")) {
key.remove_prefix(7);
Expand Down

0 comments on commit 9c22923

Please sign in to comment.