Skip to content

Commit

Permalink
use destination as []string
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Mohan <[email protected]>
  • Loading branch information
akhilerm committed Sep 27, 2021
1 parent 32d6724 commit f973043
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ async function run(): Promise<void> {
return
}

const dst: string = destination.join(' ')

await exec.exec('docker', [
'run',
Expand All @@ -32,7 +31,7 @@ async function run(): Promise<void> {
'host',
'akhilerm/repo-copy:latest',
source,
dst
...destination
])
} catch (error: any) {
core.setFailed(error.message)
Expand Down

0 comments on commit f973043

Please sign in to comment.