1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-22 16:30:11 +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 ) {
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 nlzrs = _loadInspectors();
sourceResumes.forEach( function(r) {