mirror of
				https://github.com/JuanCanham/HackMyResume.git
				synced 2025-10-30 20:57:26 +00:00 
			
		
		
		
	chore: replace fresca with fresh-resume-schema
This commit is contained in:
		| @@ -285,7 +285,7 @@ class FreshResume extends AbstractResume | ||||
|  | ||||
|   ###* Validate the sheet against the FRESH Resume schema. ### | ||||
|   isValid: ( info ) -> | ||||
|     schemaObj = require 'fresca' | ||||
|     schemaObj = require 'fresh-resume-schema' | ||||
|     validator = require 'is-my-json-valid' | ||||
|     validate = validator( schemaObj, { # See Note [1]. | ||||
|       formats: { date: /^\d{4}(?:-(?:0[0-9]{1}|1[0-2]{1})(?:-[0-9]{2})?)?$/ } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user