Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(create-plugin): exit-code should be non-zero when an error occurs #2760

Merged
merged 4 commits into from
May 15, 2024

Conversation

hung-cybo
Copy link
Contributor

@hung-cybo hung-cybo commented May 13, 2024

Why

When an error occurs, the exit code is returned as zero.
It's difficult to know whether the command is successful or not.

What

  • The exit-code should be non-zero when an error occurs.

How to test

pnpm build
pnpm test:e2e

Checklist

  • Read CONTRIBUTING.md
  • Updated documentation if it is required.
  • Added tests if it is required.
  • Passed pnpm lint and pnpm test on the root directory.

@hung-cybo hung-cybo requested review from a team and tuanphamcybozu and removed request for a team May 13, 2024 07:25
@github-actions github-actions bot added the pkg: create-plugin @kintone/create-plugin label May 13, 2024
@hung-cybo hung-cybo changed the title test(create-plugin): exit-code should be non-zero when an error occurs fix(create-plugin): exit-code should be non-zero when an error occurs May 13, 2024
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-2760.d1ite8zvzg8c5i.amplifyapp.com

Copy link
Contributor

@tuanphamcybozu tuanphamcybozu left a comment

Choose a reason for hiding this comment

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

LGTM

@tasshi-me tasshi-me merged commit 0186ba8 into master May 15, 2024
18 checks passed
@tasshi-me tasshi-me deleted the fix/exit-code-of-create-plugin branch May 15, 2024 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: create-plugin @kintone/create-plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants