1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-15 10:07:07 +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,9 +11,7 @@ Implementation of the 'convert' verb for HackMyResume.
let ConvertVerb;
const ResumeFactory = require('../core/resume-factory');
const chalk = require('chalk');
const Verb = require('../verbs/verb');
const HMSTATUS = require('../core/status-codes');
const _ = require('underscore');
@ -21,10 +19,11 @@ const HMEVENT = require('../core/event-codes');
module.exports = (ConvertVerb = class ConvertVerb extends Verb {
class ConvertVerb extends Verb {
constructor() { super('convert', _convert); }
});
}
module.exports = ConvertVerb;
@ -59,7 +58,7 @@ var _convert = function( srcs, dst, opts ) {
}
// Validate the destination format (if specified)
const targetVer = null;
//const targetVer = null;
if (opts.format) {
fmtUp = opts.format.trim().toUpperCase();
if (!_.contains(['FRESH','FRESCA','JRS','JRS@1','JRS@edge'], fmtUp)) {