lint: src/node/utils/TidyHtml.js

pull/4667/head
John McLear 2021-01-21 21:06:52 +00:00 committed by Richard Hansen
parent 31f1e39565
commit f8323eae89
1 changed files with 2 additions and 1 deletions

View File

@ -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) => {