diff --git a/package.json b/package.json index 6860f8a..0ddccfb 100644 --- a/package.json +++ b/package.json @@ -27,4 +27,4 @@ "@pushrocks/smartstring": "^3.0.4", "@pushrocks/taskbuffer": "^2.0.5" } -} +} \ No newline at end of file diff --git a/test/test.ts b/test/test.ts index 73b359b..b2c7f94 100644 --- a/test/test.ts +++ b/test/test.ts @@ -29,6 +29,6 @@ tap.test('should create a standard log message', async () => { tap.test('should send the message', async () => { await testLogDnaAccount.sendLogDnaMessage(testLogMessage); -}) +}); tap.start(); diff --git a/ts/index.ts b/ts/index.ts index 82f3e3e..1b207fd 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,2 +1,2 @@ export * from './logdna.logdnaaccount'; -export * from './logdna.classes.logmessage'; \ No newline at end of file +export * from './logdna.classes.logmessage'; diff --git a/ts/logdna.classes.logmessage.ts b/ts/logdna.classes.logmessage.ts index 124d130..0bff99c 100644 --- a/ts/logdna.classes.logmessage.ts +++ b/ts/logdna.classes.logmessage.ts @@ -22,7 +22,7 @@ export interface ILogdnaMessageContructorOptions { ip: string; /** - * a text message, that is the core part + * a text message, that is the core part */ line: string; @@ -60,7 +60,7 @@ export class LogdnaMessage { * create lgdna messages from smartlog package * @param smartlogPackageArg */ - static fromSmartLogPackage (smartlogPackageArg: ILogPackage): LogdnaMessage { + static fromSmartLogPackage(smartlogPackageArg: ILogPackage): LogdnaMessage { return new LogdnaMessage({ line: smartlogPackageArg.message, meta: smartlogPackageArg.logContext, @@ -77,7 +77,7 @@ export class LogdnaMessage { ip: '0.0.0.0', mac: 'aa:aa:aa:aa:aa:aa' }); - }; + } /** * the options of this log message @@ -85,5 +85,5 @@ export class LogdnaMessage { public options: ILogdnaMessageContructorOptions; constructor(optionsArg: ILogdnaMessageContructorOptions) { this.options = optionsArg; - }; -} \ No newline at end of file + } +} diff --git a/ts/logdna.plugins.ts b/ts/logdna.plugins.ts index 9e03e32..9fa2d66 100644 --- a/ts/logdna.plugins.ts +++ b/ts/logdna.plugins.ts @@ -2,8 +2,4 @@ import * as smartrequest from '@pushrocks/smartrequest'; import * as smartstring from '@pushrocks/smartstring'; import * as smartlogInterfaces from '@pushrocks/smartlog-interfaces'; -export { - smartrequest, - smartstring, - smartlogInterfaces -}; +export { smartrequest, smartstring, smartlogInterfaces };