This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: fs.readFile would execute callbacks twice
fs.readFile was executing a callback in a try..catch context, which is a problem in itself. To make matters worse, it would re-execute the same callback if there was an execution. This patch fixes both of these problems.
- Loading branch information