Skip to content

fix: make implicit append else branch explicit with console.warn#177

Open
JuliaKalder wants to merge 1 commit into
mainfrom
fix/issue-166
Open

fix: make implicit append else branch explicit with console.warn#177
JuliaKalder wants to merge 1 commit into
mainfrom
fix/issue-166

Conversation

@JuliaKalder
Copy link
Copy Markdown
Owner

Summary

Changed the implicit else at template-insert.js:325-328 to an explicit else if (mode === "append") branch with console.warn fallback for unknown insertMode values.

Changes

  • modules/template-insert.js: Made append-mode else branch explicit with console.warn fallback for unknown modes

Fixes #166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[LOW] template-insert.js:325-328: implicit else branch silently handles 'append' mode with no comment or label

1 participant