diff options
| author | ST-DDT <[email protected]> | 2023-11-07 17:12:47 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-07 16:12:47 +0000 |
| commit | 9498203190e37a96114ddc8e861b02ccd94e517b (patch) | |
| tree | bf605df537b387d1d33fe2707f3d46b9b4afed44 /src/modules/image | |
| parent | fafcba473f8a91eeb8230ebdc1ad5039b25091e1 (diff) | |
| download | faker-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.ts | 2 |
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()}`; } |
