-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Cancel publish #25
Comments
Ok, it seems a simple |
Would be great something like |
@fpoirier1 You can simply |
Yes, this is what I am doing right now :
I just tought it would have been cleaner that's all. |
I discuss that scenario briefly in this blog post. |
I get your point. Awesome work by the way! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Within the normal
publish
method there is an easy way to cancel the publish and return nothing (just usethis.ready(); return;
. WithpublishComposite
this doesn't work. I get the following exception then:Exception from sub 2BgTTyL3mgoTmRtbL TypeError: Cannot read property 'children' of undefined
.How could I just cancel the publish (and publish nothing), for example when some provided parameter is invalid?
The text was updated successfully, but these errors were encountered: