We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c251a2 commit cacbd88Copy full SHA for cacbd88
main.go
@@ -172,12 +172,6 @@ func commands() []cli.Command {
172
173
// Copy the jdk files to the installation directory
174
temJavaHome := getJavaHome(jdktempfile)
175
- if file.Exists(temJavaHome) {
176
- err := os.RemoveAll(temJavaHome)
177
- if err != nil {
178
- panic(err)
179
- }
180
181
err = os.Rename(temJavaHome, filepath.Join(config.store, v))
182
if err != nil {
183
return fmt.Errorf("unzip failed: %w", err)
0 commit comments