Skip to content

Commit

Permalink
Trying this
Browse files Browse the repository at this point in the history
  • Loading branch information
AceCoderLaura committed Mar 2, 2021
1 parent 0bdb2ca commit 46eab8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

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

// intentionally using fs.renameSync,
// because it doesn't move across drives
fs.renameSync(ANDROID_SDK_ROOT, newSDKLocation)
if (ANDROID_SDK_ROOT !== newSDKLocation) fs.renameSync(ANDROID_SDK_ROOT, newSDKLocation)
ANDROID_SDK_ROOT = newSDKLocation
}
}
Expand Down

0 comments on commit 46eab8f

Please sign in to comment.