From f8323eae89f76a8e23224ba4526cd98990bdfadf Mon Sep 17 00:00:00 2001 From: John McLear Date: Thu, 21 Jan 2021 21:06:52 +0000 Subject: [PATCH] lint: src/node/utils/TidyHtml.js --- src/node/utils/TidyHtml.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node/utils/TidyHtml.js b/src/node/utils/TidyHtml.js index 42e3e3547..5b48cdbad 100644 --- a/src/node/utils/TidyHtml.js +++ b/src/node/utils/TidyHtml.js @@ -1,3 +1,4 @@ +'use strict'; /** * Tidy up the HTML in a given file */ @@ -6,7 +7,7 @@ const log4js = require('log4js'); const settings = require('./Settings'); const spawn = require('child_process').spawn; -exports.tidy = function (srcFile) { +exports.tidy = (srcFile) => { const logger = log4js.getLogger('TidyHtml'); return new Promise((resolve, reject) => {