From bc55127c8b65c6e2f3e97927b81d646b405392fa Mon Sep 17 00:00:00 2001 From: Anthony Johnson Date: Wed, 18 Jun 2025 08:58:11 -0700 Subject: [PATCH] Small logging fix Noticed from review on #601, multiple console log calls should be a single call. --- src/utils.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/utils.js b/src/utils.js index ff1358ee..30e314c7 100644 --- a/src/utils.js +++ b/src/utils.js @@ -122,8 +122,10 @@ export class AddonBase { const validate = ajv.getSchema(this.jsonValidationURI); const valid = validate(config); if (!valid && !IS_TESTING) { - console.error(`Validation error on addon "${this.addonName}":`); - console.error(validate.errors); + console.error( + `Validation error on addon "${this.addonName}":`, + validate.errors, + ); } return valid; }