Skip to content

Commit f973043

Browse files
committed
use destination as []string
Signed-off-by: Akhil Mohan <[email protected]>
1 parent 32d6724 commit f973043

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

dist/index.js

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

+1-2
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)