@@ -1095,20 +1095,20 @@ export default class IBMiContent {
1095
1095
}
1096
1096
}
1097
1097
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 ) ;
1098
+ uploadFiles ( files : { local : string | Uri , remote : string } [ ] , options ?: node_ssh . SSHPutFilesOptions ) {
1099
+ return this . ibmi . client ! . putFiles ( files . map ( f => { return { local : Tools . fileToPath ( f . local ) , remote : f . remote } } ) , options ) ;
1100
1100
}
1101
1101
1102
- async downloadFile ( localFile : string | Uri , remoteFile : string ) {
1103
- await this . ibmi . client ! . getFile ( Tools . fileToPath ( localFile ) , remoteFile ) ;
1102
+ downloadFile ( localFile : string | Uri , remoteFile : string ) {
1103
+ return this . ibmi . client ! . getFile ( Tools . fileToPath ( localFile ) , remoteFile ) ;
1104
1104
}
1105
1105
1106
- async uploadDirectory ( localDirectory : string | Uri , remoteDirectory : string , options ?: node_ssh . SSHGetPutDirectoryOptions ) {
1107
- await this . ibmi . client ! . putDirectory ( Tools . fileToPath ( localDirectory ) , remoteDirectory , options ) ;
1106
+ uploadDirectory ( localDirectory : string | Uri , remoteDirectory : string , options ?: node_ssh . SSHGetPutDirectoryOptions ) {
1107
+ return this . ibmi . client ! . putDirectory ( Tools . fileToPath ( localDirectory ) , remoteDirectory , options ) ;
1108
1108
}
1109
1109
1110
- async downloadDirectory ( localDirectory : string | Uri , remoteDirectory : string , options ?: node_ssh . SSHGetPutDirectoryOptions ) {
1111
- await this . ibmi . client ! . getDirectory ( Tools . fileToPath ( localDirectory ) , remoteDirectory , options ) ;
1110
+ downloadDirectory ( localDirectory : string | Uri , remoteDirectory : string , options ?: node_ssh . SSHGetPutDirectoryOptions ) {
1111
+ return this . ibmi . client ! . getDirectory ( Tools . fileToPath ( localDirectory ) , remoteDirectory , options ) ;
1112
1112
}
1113
1113
}
1114
1114
0 commit comments