From 4136fb9b4473ca696b39c0b1cfddc60b348c7cee Mon Sep 17 00:00:00 2001 From: Joone Hur Date: Mon, 18 Mar 2024 18:23:27 -0700 Subject: [PATCH] Update attribution value check to compare with 'false' Check if the attribution value is 'false' before setting it to false. --- src/loz.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loz.ts b/src/loz.ts index 6cbc5b7..24c148c 100644 --- a/src/loz.ts +++ b/src/loz.ts @@ -110,7 +110,7 @@ export class Loz { // Check if the attribution is enabled const attributionValue = this.config.get("attribution")?.value; - if (!attributionValue) { + if (attributionValue === "false") { this.config.set("attribution", "false"); this.attribution = false; } else {