Skip to content

Commit f39c36e

Browse files
committed
fix: Prettier
1 parent e4e9d2e commit f39c36e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

packages/tracing/src/integrations/mongo.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class Mongo implements Integration {
115115
: ((OPERATIONS as unknown) as Operation[]);
116116
this._describeOperations = 'describeOperations' in options ? options.describeOperations : true;
117117
this._useMongoose = !!options.useMongoose;
118-
this._enabled = options === false ? false : true ;
118+
this._enabled = options === false ? false : true;
119119
}
120120

121121
/**
@@ -150,7 +150,7 @@ export class Mongo implements Integration {
150150
const enabled = this._enabled;
151151

152152
fill(collection.prototype, operation, function(orig: () => void | Promise<unknown>) {
153-
return function (this: unknown, ...args: unknown[]) {
153+
return function(this: unknown, ...args: unknown[]) {
154154
if (!enabled) {
155155
// If the integration is not enabled, do not send spans
156156
return;

packages/tracing/src/integrations/mysql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class Mysql implements Integration {
2828
* @inheritDoc
2929
*/
3030
public constructor(options: MysqlOptions = {}) {
31-
this._enabled = options === false ? false : true ;
31+
this._enabled = options === false ? false : true;
3232
}
3333

3434
/**
@@ -49,7 +49,7 @@ export class Mysql implements Integration {
4949
// function (options, callback) => void
5050
// function (options, values, callback) => void
5151
fill(pkg, 'createQuery', function(orig: () => void) {
52-
return function (this: unknown, options: unknown, values: unknown, callback: unknown) {
52+
return function(this: unknown, options: unknown, values: unknown, callback: unknown) {
5353
if (!enabled) {
5454
// If the integration is not enabled, do not send spans
5555
return;

packages/tracing/src/integrations/postgres.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class Postgres implements Integration {
3030
* @inheritDoc
3131
*/
3232
public constructor(options: PostgresOptions = {}) {
33-
this._enabled = options === false ? false : true ;
33+
this._enabled = options === false ? false : true;
3434
}
3535

3636
/**
@@ -52,8 +52,8 @@ export class Postgres implements Integration {
5252
* function (query) => Promise
5353
* function (query, params) => Promise
5454
*/
55-
fill(pkg.Client.prototype, 'query', function (orig: () => void | Promise<unknown>) {
56-
return function (this: unknown, config: unknown, values: unknown, callback: unknown) {
55+
fill(pkg.Client.prototype, 'query', function(orig: () => void | Promise<unknown>) {
56+
return function(this: unknown, config: unknown, values: unknown, callback: unknown) {
5757
if (!enabled) {
5858
// If the integration is not enabled, do not send spans
5959
return;

0 commit comments

Comments
 (0)