Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Wrote a script to validate user config against schema

Alicia Sykesd27fbaac5567
diff --git a/src/utils/ConfigValidator.js b/src/utils/ConfigValidator.js
index 156f6cc4..9d824944 100644
--- a/src/utils/ConfigValidator.js
+++ b/src/utils/ConfigValidator.js
@@ -14,7 +14,7 @@ const ajv = new Ajv(validatorOptions);
/* Message printed when validation was successful */
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 */