Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerfort committed Aug 2, 2024
1 parent 8bbd492 commit 9c26a9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/NFD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1223,8 +1223,8 @@ class NFD {
) {
const nfdName = nfd.name

const author = owner ? (owner.nickname ?? owner.user.username) : 'UNKNOWN'
const avatar = owner ? (owner.user.avatarURL() ?? undefined) : undefined
const author = owner ? owner.nickname ?? owner.user.username : 'UNKNOWN'

Check failure on line 1226 in src/commands/NFD.ts

View workflow job for this annotation

GitHub Actions / ESLint

src/commands/NFD.ts#L1226

Replace `owner.nickname·??·owner.user.username` with `(owner.nickname·??·owner.user.username)` (prettier/prettier)
const avatar = owner ? owner.user.avatarURL() ?? undefined : undefined

Check failure on line 1227 in src/commands/NFD.ts

View workflow job for this annotation

GitHub Actions / ESLint

src/commands/NFD.ts#L1227

Replace `owner.user.avatarURL()·??·undefined` with `(owner.user.avatarURL()·??·undefined)` (prettier/prettier)

// Check for the existence of the image in the cache, if it doesn't exist, make it.

Expand Down

0 comments on commit 9c26a9f

Please sign in to comment.