@yousolution/node-red-contrib-you-ftp-sftp 1.9.1 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/nodes/ftp.js +1 -1
  2. package/package.json +1 -1
package/nodes/ftp.js CHANGED
@@ -78,7 +78,7 @@ module.exports = function (RED) {
78
78
  });
79
79
  break;
80
80
  case 'get':
81
- const ftpfilename = node.workdir + node.filename;
81
+ let ftpfilename = node.workdir + node.filename;
82
82
  if (msg.payload.filename) ftpfilename = msg.payload.filename;
83
83
  var str = '';
84
84
  console.log('FTP Get:' + ftpfilename);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yousolution/node-red-contrib-you-ftp-sftp",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "A node-red node that support FTP and SFTP file transfer using $() environment variables to control the ftp connection details",
5
5
  "main": "sftp.js",
6
6
  "scripts": {