Skip to content

Commit

Permalink
override installPlugings() and run intellij after installation
Browse files Browse the repository at this point in the history
  • Loading branch information
alfeilex committed Jan 14, 2025
1 parent 593cf22 commit 41aaeba
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.nio.file.Files;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Set;

Expand Down Expand Up @@ -89,9 +90,13 @@ public void installPlugin(ToolPluginDescriptor plugin, Step step) {
}
}
}

result.log(IdeLogLevel.DEBUG, context, IdeLogLevel.ERROR);
step.error("Failed to install plugin {} ({}): exit code was {}", plugin.name(), plugin.id(), result.getExitCode());
}

@Override
protected void installPlugins(Collection<ToolPluginDescriptor> plugins) {
super.installPlugins(plugins);
run();
}
}

0 comments on commit 41aaeba

Please sign in to comment.