-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat: check if build exists before deploying contract with pop up #177
feat: check if build exists before deploying contract with pop up #177
Conversation
If I don't have the contract build and run b |
The issue here is with this line:
|
Alright, I'll try to remove the target/ink and see if that helps. |
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #177 +/- ##
==========================================
- Coverage 50.28% 50.10% -0.18%
==========================================
Files 32 32
Lines 2828 2838 +10
Branches 2828 2838 +10
==========================================
Hits 1422 1422
- Misses 1183 1193 +10
Partials 223 223
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks again for contributing to pop-cli
.
Closes #34
pop up contract
tries to deploy contract even if there is not build found and will eventually throw error because of that. It is necessary to add a check for existing build (and generate one), before continuing with the deployment.