From 6cf64d794ff57724cc0839d192f783f611b1cc91 Mon Sep 17 00:00:00 2001 From: David Moodie Date: Sun, 4 Jun 2017 17:23:53 +0100 Subject: [PATCH] Change == to === --- src/core/operations/Image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } },