Skip to content

Commit

Permalink
Fix mv issue on self-hosted agents (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vacxe authored Aug 22, 2022
1 parent 49dfc57 commit b58aaba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install-sdk/src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export abstract class BaseAndroidSdk implements AndroidSDK {
}

if (fs.existsSync(`${process.env.HOME}/.android`)) {
await execWithResult(`rm -rf ${process.env.HOME}/.android.backup`)
await execWithResult(`mv ${process.env.HOME}/.android ${process.env.HOME}/.android.backup`)
}

Expand Down

0 comments on commit b58aaba

Please sign in to comment.