mirror of
				https://github.com/JuanCanham/HackMyResume.git
				synced 2025-10-31 05:07:26 +00:00 
			
		
		
		
	Adjust error handling / tests.
This commit is contained in:
		| @@ -157,8 +157,14 @@ initialize = ( ar, exitCallback ) -> | ||||
|  | ||||
|   # Override the .missingArgument behavior | ||||
|   Command.prototype.missingArgument = (name) -> | ||||
|     if this.name() != 'new' | ||||
|       throw { fluenterror: HMSTATUS.resumeNotFound, quit: true } | ||||
|     _err.err | ||||
|       fluenterror: | ||||
|         if this.name() != 'new' | ||||
|         then HMSTATUS.resumeNotFound | ||||
|         else HMSTATUS.createNameMissing | ||||
|       , true | ||||
|     return | ||||
|  | ||||
|  | ||||
|   # Override the .helpInformation behavior | ||||
|   Command.prototype.helpInformation = -> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user