Skip to content

fix(store): return YAML error when parsing twurlrc - #54

Closed
braveocheretovych wants to merge 2 commits into
xdevplatform:mainfrom
braveocheretovych:patch-1
Closed

fix(store): return YAML error when parsing twurlrc#54
braveocheretovych wants to merge 2 commits into
xdevplatform:mainfrom
braveocheretovych:patch-1

Conversation

@braveocheretovych

Copy link
Copy Markdown

No description provided.

Signed-off-by: braveocheretovych <braveocheretovych@gmail.com>

@santiagomed santiagomed left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

.

@santiagomed santiagomed left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Build fails: errors.NewYAMLError doesn't exist in the errors package. Either add a NewYAMLError function to errors/errors.go, or keep the existing NewJSONError call — both are deserialization errors and the distinction doesn't matter in practice.

@braveocheretovych

Copy link
Copy Markdown
Author

Added NewYAMLError and IsYAMLError in PR #65

@santiagomed

Copy link
Copy Markdown
Collaborator

@braveocheretovych can you just add the changes into one PR? Either this or the other one is fine

@braveocheretovych

Copy link
Copy Markdown
Author

@santiagomed done! Merged the changes into #65. Closing this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants