aboutsummaryrefslogtreecommitdiff
path: root/src/modules/image
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2023-11-07 17:12:47 +0100
committerGitHub <[email protected]>2023-11-07 16:12:47 +0000
commit9498203190e37a96114ddc8e861b02ccd94e517b (patch)
treebf605df537b387d1d33fe2707f3d46b9b4afed44 /src/modules/image
parentfafcba473f8a91eeb8230ebdc1ad5039b25091e1 (diff)
downloadfaker-9498203190e37a96114ddc8e861b02ccd94e517b.tar.xz
faker-9498203190e37a96114ddc8e861b02ccd94e517b.zip
infra(unicorn): no-negated-condition (#2507)
Diffstat (limited to 'src/modules/image')
-rw-r--r--src/modules/image/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/image/index.ts b/src/modules/image/index.ts
index 915014db..f5f24711 100644
--- a/src/modules/image/index.ts
+++ b/src/modules/image/index.ts
@@ -175,7 +175,7 @@ export class ImageModule extends ModuleBase {
const { width = 640, height = 480, category } = options;
return `https://loremflickr.com/${width}/${height}${
- category != null ? `/${category}` : ''
+ category == null ? '' : `/${category}`
}?lock=${this.faker.number.int()}`;
}