Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pklaschka and Copilot authored Dec 8, 2024
1 parent f0b303d commit 8193721
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ast/EnvFileAST.ts
Original file line number Diff line number Diff line change
@@ -72,9 +72,9 @@ export class EnvFileAST {
this.sections[this.currentSection].variables[variable];
this.sections[this.currentSection].variables[variable] = {
...currentVariableDetails,
// if any occurrance is required, the variable is required:
// if any occurrence is required, the variable is required:
optional: currentVariableDetails.optional && optional,
// any 2nd+ variable occurrance serves as an example (the first is the default value):
// any 2nd+ variable occurrence serves as an example (the first is the default value):
examples: currentVariableDetails.examples.concat(value || []),
};
}

0 comments on commit 8193721

Please sign in to comment.