I don't think this code is quite right yet, since it doesn't attempt to handle ENOENT in the async case. On investigation, the async case does not seem to receive ENOENT, only errors.Gliflib (although my first commit fixes the async code not to catch ENOENT).
I don't think this code is quite right yet, since it doesn't attempt to handle
ENOENT
in the async case. On investigation, the async case does not seem to receiveENOENT
, onlyerrors.Gliflib
(although my first commit fixes the async code not to catchENOENT
).