Skip to content

Commit

Permalink
move back from default export
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsanv committed Jul 5, 2022
1 parent a2fb2f6 commit e2de296
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/InternalHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
IWorkflowBase,
IWorkflowDb,
} from '.';
import Telemetry from './telemetry';
import { Telemetry } from './telemetry';
import { IExecutionTrackProperties } from './Interfaces';

export class InternalHooksClass implements IInternalHooksClass {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/InternalHooksManager.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable import/no-cycle */
import { INodeTypes } from 'n8n-workflow';
import { InternalHooksClass } from './InternalHooks';
import Telemetry from './telemetry';
import { Telemetry } from './telemetry';

export class InternalHooksManager {
private static internalHooksInstance: InternalHooksClass;
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/src/telemetry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ interface IExecutionsBuffer {
};
}

// eslint-disable-next-line import/no-default-export
export default class Telemetry {
export class Telemetry {
private client?: TelemetryClient;

private instanceId: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/test/unit/Telemetry.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Telemetry from '../../src/telemetry';
import { Telemetry } from '../../src/telemetry';

jest.spyOn(Telemetry.prototype as any, 'createTelemetryClient').mockImplementation(() => {
return {
Expand Down

0 comments on commit e2de296

Please sign in to comment.