You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.
When a function doesn't have hooks,the with-hooks-disabled macro will throw an exception.
I think it should not throw this exception,i don't care if the function has hooks, maybe i want to add the hooks later or maybe i will remove the hooks in future.When i removed,i have to modify the code to remove with-hooks-disabled invocation.
So,can you provide an option to ignore the exception? or modify the default behavior?
Thanks.
The text was updated successfully, but these errors were encountered:
When a function doesn't have hooks,the
with-hooks-disabled
macro will throw an exception.I think it should not throw this exception,i don't care if the function has hooks, maybe i want to add the hooks later or maybe i will remove the hooks in future.When i removed,i have to modify the code to remove
with-hooks-disabled
invocation.So,can you provide an option to ignore the exception? or modify the default behavior?
Thanks.
The text was updated successfully, but these errors were encountered: