Skip to content

Commit 8539580

Browse files
committed
style: inline shouldThrowOnDeprecation to satisfy prettier
1 parent 34b28a3 commit 8539580

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

apps/meteor/app/lib/server/lib/deprecationWarningLogger.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ export type DeprecationLoggerNextPlannedVersion = '9.0.0';
3131
// tests intentionally exercise DDP methods through the `/v1/method.call/:method`
3232
// proxy and via streamer paths; for those runs we set `TEST_MODE_API=true` so
3333
// the throw is suppressed but the warning is still logged.
34-
const shouldThrowOnDeprecation = (): boolean =>
35-
process.env.TEST_MODE === 'true' && process.env.TEST_MODE_API !== 'true';
34+
const shouldThrowOnDeprecation = (): boolean => process.env.TEST_MODE === 'true' && process.env.TEST_MODE_API !== 'true';
3635

3736
export const apiDeprecationLogger = ((logger) => {
3837
return {

0 commit comments

Comments
 (0)