Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuchar committed Oct 4, 2024
1 parent 2ccd065 commit e97084f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/basic-crawler/src/internals/basic-crawler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1523,7 +1523,7 @@ export class BasicCrawler<Context extends CrawlingContext = BasicCrawlingContext
}

return process.env.CRAWLEE_VERBOSE_LOG || forceStack
? error.stack ?? [error.message || error, ...stackLines].join('\n')
? (error.stack ?? [error.message || error, ...stackLines].join('\n'))
: [error.message || error, userLine].join('\n');
}

Expand Down
2 changes: 1 addition & 1 deletion packages/browser-pool/src/fingerprinting/hooks.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { BrowserFingerprintWithHeaders } from 'fingerprint-generator';
import type { FingerprintInjector } from 'fingerprint-injector';

import type { BrowserPool } from '../browser-pool';
import { getGeneratorDefaultOptions } from './utils';
import type { BrowserController } from '../abstract-classes/browser-controller';
import type { BrowserPool } from '../browser-pool';
import type { LaunchContext } from '../launch-context';
import { PlaywrightPlugin } from '../playwright/playwright-plugin';
import { PuppeteerPlugin } from '../puppeteer/puppeteer-plugin';
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/storages/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export async function purgeDefaultStorages(
client,
config: configOrOptions,
}
: configOrOptions ?? {};
: (configOrOptions ?? {});
const { config = Configuration.getGlobalConfig(), onlyPurgeOnce = false } = options;
({ client = config.getStorageClient() } = options);

Expand Down

0 comments on commit e97084f

Please sign in to comment.