Skip to content

Commit

Permalink
Enable prefer-const in the eslint config (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and alexander-fenster committed Sep 20, 2018
1 parent fd4aa18 commit 0bcf07b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dlp/system-test/redact.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ function readImage(filePath) {
}

async function getImageDiffPercentage(image1Path, image2Path) {
let image1 = await readImage(image1Path);
let image2 = await readImage(image2Path);
let diff = new PNG({width: image1.width, height: image1.height});
const image1 = await readImage(image1Path);
const image2 = await readImage(image2Path);
const diff = new PNG({width: image1.width, height: image1.height});

const diffPixels = pixelmatch(
image1.data,
Expand Down
2 changes: 1 addition & 1 deletion dlp/system-test/templates.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const tools = require('@google-cloud/nodejs-repo-tools');
const uuid = require(`uuid`);

const cmd = `node templates.js`;
let templateName = '';
const templateName = '';

const INFO_TYPE = `PERSON_NAME`;
const MIN_LIKELIHOOD = `VERY_LIKELY`;
Expand Down

0 comments on commit 0bcf07b

Please sign in to comment.