Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-3012] Print warning when there are comments in genesis file #1838

Merged
merged 2 commits into from
Aug 12, 2019

Conversation

shemnon
Copy link
Contributor

@shemnon shemnon commented Aug 10, 2019

PR description

The technique is to parse with comments disabled, and if a parse exception is
detected re-parse with comments allowed, and if successful complain at warn.

To turn this option off we just unwrap the try and delete the catch and update
the test.

Fixed Issue(s)

The technique is to parse with comments disabled, and if a parse exception is
detected re-parse with comments allowed, and if successful complain at warn.

To turn this option off we just unwrap the try and delete the catch and update
the test.
Copy link
Contributor

@AbdelStark AbdelStark left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@shemnon shemnon merged commit 5a54246 into PegaSysEng:master Aug 12, 2019
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