Initial work

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
This commit is contained in:
Josh-Cena 2021-06-17 17:06:39 +08:00
parent 1b0acc5547
commit 6d3d416f58
No known key found for this signature in database
GPG key ID: C37145B818BDB68F
5 changed files with 15 additions and 9 deletions

View file

@ -35,7 +35,7 @@ export const logValidationBugReportHint = (): void => {
);
};
export function printWarning(warning?: Joi.ValidationError) {
export function printWarning(warning?: Joi.ValidationError): void {
if (warning) {
const warningMessages = warning.details
.map(({message}) => message)