File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,8 @@ before_install:
7
7
- ' cd node-client'
8
8
install :
9
9
- ' npm install typescript'
10
+ - ' npm install tslint'
10
11
- ' npm install'
12
+ script :
11
13
- ' npm test'
14
+ - ' npm run lint'
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ import stream = require('stream');
3
3
4
4
import { KubeConfig } from './config' ;
5
5
import { WebSocketHandler } from './web-socket-handler' ;
6
- import { connection } from 'websocket' ;
7
- import { resolve } from 'url' ;
8
6
9
7
export class Attach {
10
8
public 'handler' : WebSocketHandler ;
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ export class WebSocketHandler {
99
99
client . on ( 'connectFailed' , ( err ) => {
100
100
reject ( err ) ;
101
101
} ) ;
102
- client . connect ( uri , protocols ) ;
102
+ client . connect ( uri , protocols ) ;
103
103
} ) ;
104
104
}
105
105
}
You can’t perform that action at this time.
0 commit comments