-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Sometimes the expensive command I run fails. e.g. A brief network connectivity issue that I notice and fix after running the command. The problem when using bc::cache is that the result is cached. I'm not aware of a normal use scenario where I'd want the result to be cached on non-zero exit code, so that's my first suggestion.
If changing the default behavior isn't desired, it would be nice to allow the option to not cache on non-zero exit code.
p.s. I tried the memoize function, but it doesn't work for my scenario.
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels