Skip to content

Commit

Permalink
Fix: Default value for additionalPaths
Browse files Browse the repository at this point in the history
  • Loading branch information
prakattuladhar committed Apr 12, 2022
1 parent f8f9458 commit 5799137
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ inputs:
default: 'password'
additionalPaths:
description: "Map of the path to upload multiple files."
required: false
default: '{}'
localPath:
description: 'Local file or directory'
required: true
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30627,7 +30627,7 @@ if (privateKeyIsFile == "true") {

const localPath = core.getInput('localPath');
const remotePath = core.getInput('remotePath');
const additionalPaths = core.getInput('additionalPaths') || {}
const additionalPaths = core.getInput('additionalPaths')

sftp.connect({
host: host,
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if (privateKeyIsFile == "true") {

const localPath = core.getInput('localPath');
const remotePath = core.getInput('remotePath');
const additionalPaths = core.getInput('additionalPaths') || {}
const additionalPaths = core.getInput('additionalPaths')

sftp.connect({
host: host,
Expand Down

0 comments on commit 5799137

Please sign in to comment.