Skip to content

Commit

Permalink
Made comment a let instead of const
Browse files Browse the repository at this point in the history
  • Loading branch information
fastnlight0 committed Jan 17, 2024
1 parent 82fc2cd commit 118581e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function getCommentText(
const { addAuthorName: AddAuthorName } = cachedConfiguration;

const commentType = (opReputation || 0) > 50 ? 'high' : 'low';
const comment = comments?.[commentType] || comments?.low;
let comment = comments?.[commentType] || comments?.low;

if (comment){
var sitename = StackExchange.options.site.name || "";

Check failure on line 354 in src/popover.ts

View workflow job for this annotation

GitHub Actions / build

Unexpected var, use let or const instead

Check failure on line 354 in src/popover.ts

View workflow job for this annotation

GitHub Actions / build

Strings must use singlequote
Expand Down

0 comments on commit 118581e

Please sign in to comment.