mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 08:20:11 +00:00
Tweak analyze command error.
This commit is contained in:
parent
bb28e5aa8e
commit
43873efcab
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user