mirror of
				https://github.com/JuanCanham/HackMyResume.git
				synced 2025-10-31 05:07:26 +00:00 
			
		
		
		
	Fix format detection error in validate logic.
This commit is contained in:
		| @@ -62,7 +62,7 @@ Implementation of the 'validate' verb for HackMyResume. | ||||
|       var isValid = false; | ||||
|       var style = 'green'; | ||||
|       var errors = []; | ||||
|       var fmt = json.meta && (json.meta.format==='FRESH@0.1.0') ? 'fresh':'jars'; | ||||
|       var fmt = json.basics ? 'jrs' : 'fresh'; | ||||
|  | ||||
|       try { | ||||
|         var validate = validator( schemas[ fmt ], { // Note [1] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user