Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

fix: prevent from logging error if dependencies section is missing in package.json #45

Merged

Conversation

lstocchi
Copy link
Collaborator

@lstocchi lstocchi commented Nov 5, 2021

It's not an error finding a package.json without the dependencies section. It won't happen often but when it happens we shouldn't print an error in logs.

… package.json

Signed-off-by: Luca Stocchi <lstocchi@redhat.com>
@lstocchi lstocchi requested a review from jeffmaury November 5, 2021 09:21
Copy link
Member

@jeffmaury jeffmaury left a comment

Choose a reason for hiding this comment

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

LGTM

@lstocchi lstocchi merged commit a3105f4 into redhat-developer:main Nov 5, 2021
@lstocchi lstocchi deleted the fixLogErrorWithNodejsDepMissing branch November 5, 2021 11:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants