mirror of
				https://github.com/JuanCanham/HackMyResume.git
				synced 2025-10-31 05:07:26 +00:00 
			
		
		
		
	Remove explicit logger and error handler params.
This commit is contained in:
		| @@ -35,10 +35,9 @@ Implementation of the 'convert' verb for HackMyResume. | ||||
|   /** | ||||
|   Convert between FRESH and JRS formats. | ||||
|   */ | ||||
|   function convert( srcs, dst, opts, logger ) { | ||||
|   function convert( srcs, dst, opts ) { | ||||
|  | ||||
|     // Housekeeping | ||||
|     var _log = logger || console.log; | ||||
|     if( !srcs || !srcs.length ) { throw { fluenterror: 6 }; } | ||||
|     if( !dst || !dst.length ) { | ||||
|       if( srcs.length === 1 ) { | ||||
| @@ -60,7 +59,7 @@ Implementation of the 'convert' verb for HackMyResume. | ||||
|  | ||||
|       // Load the resume | ||||
|       var rinfo = ResumeFactory.loadOne( src, { | ||||
|         log: _log, format: null, objectify: true, throw: true | ||||
|         format: null, objectify: true, throw: true | ||||
|       }); | ||||
|  | ||||
|       var s = rinfo.rez | ||||
|   | ||||
		Reference in New Issue
	
	Block a user