sindresorhus/del

Async throw error delay

Open

#98 geöffnet am 12. Juli 2019

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.305 Stars) (71 Forks)batch import
enhancementhelp wanted

Beschreibung

Would you accept a PR that would change how async errors are thrown so the error is thrown after all pending files being deleted are removed? This would help deal with side effects a lot cleaner, especially when testing.

Similar to https://github.com/sindresorhus/del/pull/90.

Contributor Guide