Skip to content

Ensure include node is an array before processing it - #323

Merged
rcjsuen merged 1 commit into
mainfrom
check-include-before-processing
Jun 12, 2025
Merged

Ensure include node is an array before processing it#323
rcjsuen merged 1 commit into
mainfrom
check-include-before-processing

Conversation

@rcjsuen

@rcjsuen rcjsuen commented Jun 12, 2025

Copy link
Copy Markdown
Collaborator

The include node may not be an array if the user has made a mistake or is not finished editing their Compose file so we should not try to process it if it is not an array.

Fixes #322.

The include node may not be an array if the user has made a mistake or
is not finished editing their Compose file so we should not try to
process it if it is not an array.

Signed-off-by: Remy Suen <remy.suen@docker.com>
@rcjsuen rcjsuen self-assigned this Jun 12, 2025
@rcjsuen
rcjsuen merged commit d130e78 into main Jun 12, 2025
@rcjsuen
rcjsuen deleted the check-include-before-processing branch June 12, 2025 12:29
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.

Should not assume the include node will always be an array

1 participant