Browse Source

Change == to ===

David Moodie 8 năm trước cách đây
mục cha
commit
6cf64d794f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/core/operations/Image.js

+ 1 - 1
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;
         }
     },