Skip to content

Commit f973043

Browse files
committed
use destination as []string
Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
1 parent 32d6724 commit f973043

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

dist/index.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ async function run(): Promise<void> {
2020
return
2121
}
2222

23-
const dst: string = destination.join(' ')
2423

2524
await exec.exec('docker', [
2625
'run',
@@ -32,7 +31,7 @@ async function run(): Promise<void> {
3231
'host',
3332
'akhilerm/repo-copy:latest',
3433
source,
35-
dst
34+
...destination
3635
])
3736
} catch (error: any) {
3837
core.setFailed(error.message)

0 commit comments

Comments
 (0)