1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-23 00:40:10 +00:00

Tweak analyze command error.

This commit is contained in:
hacksalot 2016-01-01 14:38:52 -05:00
parent bb28e5aa8e
commit 43873efcab

View File

@ -24,7 +24,7 @@ Implementation of the 'analyze' verb for HackMyResume.
*/ */
module.exports = function analyze( src, dst, opts, logger ) { module.exports = function analyze( src, dst, opts, logger ) {
var _log = logger || console.log; var _log = logger || console.log;
if( !src || !src.length ) throw { fluenterror: 8 }; if( !src || !src.length ) throw { fluenterror: 3 };
var sourceResumes = ResumeFactory.load( src, _log, null, true ); var sourceResumes = ResumeFactory.load( src, _log, null, true );
var nlzrs = _loadInspectors(); var nlzrs = _loadInspectors();
sourceResumes.forEach( function(r) { sourceResumes.forEach( function(r) {