Skip to content

Conversation

frodoe7
Copy link

@frodoe7 frodoe7 commented Jan 2, 2024

Checklist

Signed-off-by: Ahmed Mohsen <[email protected]>
@frodoe7 frodoe7 mentioned this pull request Jan 2, 2024
2 tasks
@@ -135,7 +135,7 @@ async function runFastify (args, additionalOptions, serverOptions) {
options = deepmerge(options, serverOptions)
}

if (opts.options && file.options) {
if (opts.options || file.options) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is absolutely a wrong fix.
The opts.options expected to be true in order to allow file options.
It is the documented behavior.

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.

2 participants