Wrote a script to validate user config against schema

This commit is contained in:
Alicia Sykes 2021-06-05 20:14:18 +01:00
parent f3381a6e0a
commit d27fbaac55
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ const ajv = new Ajv(validatorOptions);
/* Message printed when validation was successful */ /* Message printed when validation was successful */
const successMsg = () => { const successMsg = () => {
return '\x1b[1m\x1b[32m\033[1mNo issues found, config is valid :)\x1b[0m\n'; return '\x1b[1m\x1b[32m\033[1mNo issues found, your configuration is valid :)\x1b[0m\n';
} }
/* Formats error message. ready for printing to the console */ /* Formats error message. ready for printing to the console */