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 Sep 26, 2023. It is now read-only.
+1
For this to be feasible, the function should receive a callback as second parameter. This would not only make the function properly asynchronous (stick to standards), but would allow to:
send errors back instead of throwing them which is dangerous in an async environment (no try/catch mechanism from the calling function).
send the response back under an asynchrounous scenario.
If you are calling
replace
as a function it would be cool to get information back about what was replaced as it runs or after it completes.Perhaps return a results object or take an options callback that reports back file and occurrence information as it runs.
The text was updated successfully, but these errors were encountered: