Skip to content

Commit

Permalink
Update attribution value check to compare with 'false'
Browse files Browse the repository at this point in the history
Check if the attribution value is 'false' before setting it to false.
  • Loading branch information
joone committed Mar 19, 2024
1 parent 48f26bb commit 4136fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4136fb9

Please sign in to comment.