Skip to content

Commit

Permalink
Merge pull request #75 from TheNodeGarden/fix-download_command
Browse files Browse the repository at this point in the history
Fix download command reliability
  • Loading branch information
AndiDittrich authored May 23, 2020
2 parents 0a5a91a + c120a67 commit f160e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/connector/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function download(remoteName){

// close remote file for read
try{
({response} = await _virtualTerminal.executeCommand(_luaCommandBuilder.fileClose));
({response} = await _virtualTerminal.executeCommand(_luaCommandBuilder.command.fileClose));
}catch(e){
_logger.debug(e);
throw new Error('Cannot close remote file "' + remoteName + '"');
Expand Down

0 comments on commit f160e0a

Please sign in to comment.