Change == to ===

This commit is contained in:
David Moodie committed 2017-06-04 17:23:53 +01:00
1 parent 6741ba0783
commit 6cf64d794f
1 file changed
+1 -1
+1 -1
View File
@@ -65,7 +65,7 @@ const Image = {
return newImage; return newImage;
} catch (err) { } catch (err) {
// Simply return input if no EXIF data is found // 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; throw "Could not remove EXIF data from image: " + err;
} }
}, },