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:
77 - ' cd node-client'
88install :
99 - ' npm install typescript'
10+ - ' npm install tslint'
1011 - ' npm install'
12+ script :
1113 - ' npm test'
14+ - ' npm run lint'
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ import stream = require('stream');
33
44import { KubeConfig } from './config' ;
55import { WebSocketHandler } from './web-socket-handler' ;
6- import { connection } from 'websocket' ;
7- import { resolve } from 'url' ;
86
97export class Attach {
108 public 'handler' : WebSocketHandler ;
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments