Closed WillForan closed 8 months ago
Would be better to add a timeout for the slow operation.
timeout
seems like a good general solution. 2 implementation questions:
I think the default behavior is to time out already! I just didn't like waiting :)
It seems reasonable to reject this pull request -- awesome-lint does the reasonable thing already without command arguments sloshing around 2 files b/c one person is impatient.
If it's useful, I'm happy to make a separate very small pull for the --depth 1
change -- and more so if you don't need me involved for the change. Kill the other parts of this request or DIY elsewhere. Whatever's easier.
If it's useful, I'm happy to make a separate very small pull for the --depth 1 change
👍
I was traveling and noticed awesome-lint was very slow without access to github.com.
I'm sure that's an unusual use case, so maybe it's not worth a dedicated CLI. But in case otherwise, here's the change that I think would avoid needing internet access.