Jonathan Clem
Jonathan Clem
*Note:* This was published by mistake once because I slipped with my thumb. Sorry! Just to throw in my two cents here as someone that's not a Draft.js user, but...
@gaborsar Out of curiosity, what keeps Draft from doing that kind of OT? **Edit:** Ah, re-reading the thread it looks like it's because a full document diff would be necessary...
I don't see requiring Checkit everywhere I'm building validators as an issue, given that I'm building validators for use by Checkit, anyway. The `TypeError`/`ReferenceError` suggestion doesn't feel right to me,...
I didn't realize when I opened this issue that as long as I know I'm always throwing `Checkit.ValidationError` in my custom validators, I can do something like this: ``` javascript...
Just hit this again, wondering if there's a better way to do this yet @tgriesser. Looks like a function to check each individual error in a `Checkit.Error` instance is still...
Out of curiosity, what is the use case for throttling within an action? I'm sure there's a valid one, just can't think of it and would love to know!
> when doing bulk actions like opening a couple of dozen issues across repositories from a single action. You'd be hitting rate limits soon. Ah yeah that makes sense. I...
Whoops, this should be `process.exit()` so that we honor any `process.exitCode` previously set.
Ah, as @ericsciple pointed out, we need to flush stdout/stderr, so just calling `process.exit()` isn't safe.
Another option would be to set a timeout for writing stdout/stderr and then force exit: ```typescript const OUTPUT_TIMEOUT = 60_000 async function main() { // My action code } runSafeMain(main)...