Loading
Commits on Source 29
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
This fixes #25
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
lukasdatte authored
If a user provides a non-existing dest path, the promise would simply resolve. The image would not have been written, since the dest path is not an existing path. This is unexpected behavior. The Promise should be rejected if the WriteStream errors. Another example: There dest path could point to a locked file, which would prevent the WriteStream from overwriting the existing file. I'm pretty sure, the promise would resolve. Adding .on("error", err => reject(err)) will help. Please be aware, that i haven't tested my change thoroughly. -
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
This fixes #27
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
This fixes #28
-
Sébastien Demanou authored
This fixes #28
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
This fixes #29
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored
-
Sébastien Demanou authored