diff --git a/src/core/operations/Image.js b/src/core/operations/Image.js index 7a0385ba..6ddfad9d 100644 --- a/src/core/operations/Image.js +++ b/src/core/operations/Image.js @@ -65,7 +65,7 @@ const Image = { return newImage; } catch (err) { // Simply return input if no EXIF data is found - if (err == "Exif not found.") return input; + if (err === "Exif not found.") return input; throw "Could not remove EXIF data from image: " + err; } },