Skip to content

Commit

Permalink
Use getToolPath to uninstall local tools
Browse files Browse the repository at this point in the history
  • Loading branch information
slskiba committed Jun 18, 2024
1 parent 31bd6b3 commit 37dde05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void uninstall() {

try {
String commandletName = this.getName();
Path softwarePath = context.getSoftwarePath().resolve(commandletName);
Path softwarePath = this.getToolPath();
if (Files.exists(softwarePath)) {
try {
context.getFileAccess().delete(softwarePath);
Expand Down

0 comments on commit 37dde05

Please sign in to comment.