Skip to content

Commit

Permalink
fix: Install hotswap agent if the user deleted it and still want to u…
Browse files Browse the repository at this point in the history
…se it (#160)
  • Loading branch information
Artur- authored Nov 18, 2024
1 parent 60ba5d3 commit 3e296a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/kotlin/com/vaadin/plugin/utils/VaadinHomeUtil.kt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ object VaadinHomeUtil {
// might only happen if user removes hotswap-agent.jar manually after plugin is already
// installed
if (!hotSwapAgentJarFile.exists()) {
throw IllegalStateException(
"hotswap-agent.jar is not present, run \"HotSwap: Install or update\" action to install")
updateOrInstallHotSwapJar()
}
return hotSwapAgentJarFile
}
Expand Down

0 comments on commit 3e296a5

Please sign in to comment.