Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tinchoz49 committed Jul 26, 2024
1 parent d20c06e commit 3c2acdc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/writer.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ export const write = async (source, opts = {}) => {
w.inlineBlock(() => {
// this is necessary to allow validate dynamic json objects
if (!optionsKeys.includes('additionalProperties')) {
// optionsKeys.push('additionalProperties')
// options.additionalProperties = true
optionsKeys.push('additionalProperties')
options.additionalProperties = true
}

optionsKeys.forEach((optionKey) => {
Expand Down
Loading

0 comments on commit 3c2acdc

Please sign in to comment.