Skip to content

Commit 7ddc16f

Browse files
committed
Add tslint validation to travis.
1 parent 17337f8 commit 7ddc16f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ before_install:
77
- 'cd node-client'
88
install:
99
- 'npm install typescript'
10+
- 'npm install tslint'
1011
- 'npm install'
12+
script:
1113
- 'npm test'
14+
- 'npm run lint'

node-client/src/attach.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import stream = require('stream');
33

44
import { KubeConfig } from './config';
55
import { WebSocketHandler } from './web-socket-handler';
6-
import { connection } from 'websocket';
7-
import { resolve } from 'url';
86

97
export class Attach {
108
public 'handler': WebSocketHandler;

node-client/src/web-socket-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class WebSocketHandler {
9999
client.on('connectFailed', (err) => {
100100
reject(err);
101101
});
102-
client.connect(uri, protocols);
102+
client.connect(uri, protocols);
103103
});
104104
}
105105
}

0 commit comments

Comments
 (0)