From 60fddf837dce87d521807a57bb65bde2b155d5bd Mon Sep 17 00:00:00 2001 From: toby Date: Mon, 8 May 2017 12:49:13 -0400 Subject: [PATCH] Change let to const in "Extract EXIF" --- src/core/operations/Image.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/operations/Image.js b/src/core/operations/Image.js index 511585c8..c045f729 100644 --- a/src/core/operations/Image.js +++ b/src/core/operations/Image.js @@ -14,9 +14,9 @@ import Utils from "../Utils.js"; const Image = { runEXIF(input, args) { try { - let bytes = Uint8Array.from(input); - let parser = ExifParser.create(bytes.buffer); - let result = parser.parse(); + const bytes = Uint8Array.from(input); + const parser = ExifParser.create(bytes.buffer); + const result = parser.parse(); let lines = []; for (let tagName in result.tags) { @@ -24,7 +24,7 @@ const Image = { lines.push(`${tagName}: ${value}`); } - let numTags = lines.length; + const numTags = lines.length; lines.unshift(`Found ${numTags} tags.\n`); return lines.join("\n"); } catch (err) {