1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-06-30 23:51:05 +01:00

chore: decaffeinate: fix eslint violations

This commit is contained in:
hacksalot
2018-02-14 10:02:44 -05:00
parent 8a46d642e5
commit 42d249b407
40 changed files with 412 additions and 454 deletions

View File

@ -11,7 +11,6 @@ Definition of the HtmlPdfCLIGenerator class.
let HtmlPdfCLIGenerator;
const TemplateGenerator = require('./template-generator');
const FS = require('fs-extra');
const PATH = require('path');
@ -27,7 +26,7 @@ wkhtmltopdf, and other PDF engines over a CLI (command-line interface).
If an engine isn't installed for a particular platform, error out gracefully.
*/
module.exports = (HtmlPdfCLIGenerator = class HtmlPdfCLIGenerator extends TemplateGenerator {
class HtmlPdfCLIGenerator extends TemplateGenerator {
@ -57,9 +56,9 @@ module.exports = (HtmlPdfCLIGenerator = class HtmlPdfCLIGenerator extends Templa
onError(ex, param) {
__guardMethod__(param.errHandler, 'err', o => o.err(HMSTATUS.pdfGeneration, ex));
}
});
}
module.exports = HtmlPdfCLIGenerator;
// TODO: Move each engine to a separate module
var engines = {
@ -127,4 +126,4 @@ function __guardMethod__(obj, methodName, transform) {
} else {
return undefined;
}
}
}