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:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user