Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! src: extend dot-env to also handle sections
fix comment typo
  • Loading branch information
dario-piotrowicz committed Jun 22, 2025
commit 67b49d05e0e7f0b29fb611ee8e1157641e5830c6
2 changes: 1 addition & 1 deletion src/node_dotenv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ void Dotenv::ParseContent(const std::string_view input,
if (content.front() == '[') {
auto closing_bracket_idx = content.find_first_of(']');
if (closing_bracket_idx != std::string_view::npos) {
// We've enterer a new section of the file
// We've entered a new section of the file
auto quote_idx = content.find_first_of('"');
if (quote_idx != std::string_view::npos &&
quote_idx < closing_bracket_idx) {
Expand Down