Skip to content

Conversation

@jjangga0214
Copy link
Contributor

@jjangga0214 jjangga0214 commented Mar 2, 2020

Hi.

Good action :)

I refactored a little. Refer to @actions/exec for more detail. As you can see in this line, it returns a promise of exit code.

So, if you'd like to accept this PR, you should write an error handling(e.g. if(exitCode !== 0){ }), and test the final code.

Otherwise, you might consider using a node's built-in function child_process.exec instead of @actions/exec.

Cheers.

@ad-m ad-m merged commit c52e809 into ad-m:master Jan 2, 2021
ad-m added a commit that referenced this pull request Jan 2, 2021
ad-m added a commit that referenced this pull request Jan 2, 2021
@jjangga0214 jjangga0214 deleted the refactor/deps/exec branch January 31, 2022 06:03
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.

2 participants