File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1096,19 +1096,19 @@ export default class IBMiContent {
1096
1096
}
1097
1097
1098
1098
async uploadFiles ( files : { local : string | Uri , remote : string } [ ] , options ?: node_ssh . SSHPutFilesOptions ) {
1099
- await this . ibmi . client . putFiles ( files . map ( f => { return { local : Tools . fileToPath ( f . local ) , remote : f . remote } } ) , options ) ;
1099
+ await this . ibmi . client ! . putFiles ( files . map ( f => { return { local : Tools . fileToPath ( f . local ) , remote : f . remote } } ) , options ) ;
1100
1100
}
1101
1101
1102
1102
async downloadFile ( localFile : string | Uri , remoteFile : string ) {
1103
- await this . ibmi . client . getFile ( Tools . fileToPath ( localFile ) , remoteFile ) ;
1103
+ await this . ibmi . client ! . getFile ( Tools . fileToPath ( localFile ) , remoteFile ) ;
1104
1104
}
1105
1105
1106
1106
async uploadDirectory ( localDirectory : string | Uri , remoteDirectory : string , options ?: node_ssh . SSHGetPutDirectoryOptions ) {
1107
- await this . ibmi . client . putDirectory ( Tools . fileToPath ( localDirectory ) , remoteDirectory , options ) ;
1107
+ await this . ibmi . client ! . putDirectory ( Tools . fileToPath ( localDirectory ) , remoteDirectory , options ) ;
1108
1108
}
1109
1109
1110
1110
async downloadDirectory ( localDirectory : string | Uri , remoteDirectory : string , options ?: node_ssh . SSHGetPutDirectoryOptions ) {
1111
- await this . ibmi . client . getDirectory ( Tools . fileToPath ( localDirectory ) , remoteDirectory , options ) ;
1111
+ await this . ibmi . client ! . getDirectory ( Tools . fileToPath ( localDirectory ) , remoteDirectory , options ) ;
1112
1112
}
1113
1113
}
1114
1114
You can’t perform that action at this time.
0 commit comments