Skip to content

fix(scaffold chain {id}): fixed error handler for generated path copy#1907

Merged
ilgooz merged 1 commit intoignite:developfrom
hackartists:fix/copy-error-handling
Dec 9, 2021
Merged

fix(scaffold chain {id}): fixed error handler for generated path copy#1907
ilgooz merged 1 commit intoignite:developfrom
hackartists:fix/copy-error-handling

Conversation

@hackartists
Copy link
Contributor

When I run scaffold chain {id}, it caused cannot copy path error.
I found it weird logic to handle error right after copying path from tmp to appPath.

I've fixed to return error only if copy causes an error.

When I run `scaffold chain {id}`, it caused `cannot copy path error`.
I found it weird logic to handle error right after copying path from tmp to `appPath`.

I've fixed to return error only if copy causes an error.
Copy link
Collaborator

@Pantani Pantani left a comment

Choose a reason for hiding this comment

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

Excellent, thanks for catching this!!

@ilgooz ilgooz merged commit 574cbff into ignite:develop Dec 9, 2021
Jchicode pushed a commit to Jchicode/cli that referenced this pull request Aug 9, 2023
…py (ignite#1907)

When I run `scaffold chain {id}`, it caused `cannot copy path error`.
I found it weird logic to handle error right after copying path from tmp to `appPath`.

I've fixed to return error only if copy causes an error.
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.

3 participants