Skip to content

fix(create): handle create package errors gracefully#1159

Merged
rishabh3112 merged 4 commits intowebpack:nextfrom
anshumanv:1151
Jan 25, 2020
Merged

fix(create): handle create package errors gracefully#1159
rishabh3112 merged 4 commits intowebpack:nextfrom
anshumanv:1151

Conversation

@anshumanv
Copy link
Copy Markdown
Member

handle package creation errors

ISSUES CLOSED: #1151

What kind of change does this PR introduce?
handle create package errors when

Did you add tests for your changes?
No, will add tests separately

If relevant, did you update the documentation?
NA

Summary
Handle package creation errs when working in a package dir

Does this PR introduce a breaking change?
No

Other information

Copy link
Copy Markdown
Member

@rishabh3112 rishabh3112 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. Left a suggestion.

@ghost
Copy link
Copy Markdown

ghost commented Dec 30, 2019

There were the following issues with this Pull Request

  • Commit: cbd8ace
    • ✖ message may not be empty
    • ✖ type may not be empty

You may need to change the commit messages to comply with the repository contributing guidelines.


🤖 This comment was generated by commitlint[bot]. Please report issues here.

Happy coding!

handle package creation errors

ISSUES CLOSED: webpack#1151
update create package err message

ISSUES CLOSED: webpack#1151
update comment to something

ISSUES CLOSED: webpack#1151
@webpack-bot
Copy link
Copy Markdown

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

Copy link
Copy Markdown
Member

@jamesgeorge007 jamesgeorge007 left a comment

Choose a reason for hiding this comment

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

Left couple of comments.

update err message and exit code

ISSUES CLOSED: webpack#1151
@webpack-bot
Copy link
Copy Markdown

@anshumanv Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@jamesgeorge007 Please review the new changes.

Copy link
Copy Markdown
Member

@jamesgeorge007 jamesgeorge007 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@rishabh3112 rishabh3112 merged commit aa6d82b into webpack:next Jan 25, 2020
@rishabh3112
Copy link
Copy Markdown
Member

Thanks!

@anshumanv anshumanv deleted the 1151 branch January 25, 2020 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[create]: Handle create package errors gracefully

4 participants