Skip to content

Commit

Permalink
Merge pull request #30 from scala-steward-org/fix-mv
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrohdezma authored May 21, 2020
2 parents 22e6326 + 07b63bf commit d5fd3aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/coursier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export async function install(): Promise<void> {

const binPath = '/home/runner/bin'
await io.mkdirP(binPath)
await io.mv(temp, path.join(binPath, 'cs'))
await io.cp(temp, path.join(binPath, 'cs'))
await io.rmRF(temp)

core.addPath(binPath)
} catch (error) {
Expand Down

0 comments on commit d5fd3aa

Please sign in to comment.