Log if baseline generation was successful
This commit is contained in:
parent
251425c625
commit
6946a3c26d
1 changed files with 6 additions and 1 deletions
|
@ -256,7 +256,12 @@ public class DetektOperation extends AbstractProcessOperation<DetektOperation> {
|
|||
public void execute() throws IOException, FileUtilsErrorException, InterruptedException, ExitStatusException {
|
||||
super.execute();
|
||||
if (successful_ && LOGGER.isLoggable(Level.INFO)) {
|
||||
LOGGER.info("Detekt executed successfully.");
|
||||
if (createBaseline_) {
|
||||
LOGGER.info("Detekt baseline successfully generated: "
|
||||
+ "file://" + new File(baseline_).toURI().getPath());
|
||||
} else {
|
||||
LOGGER.info("Detekt executed successfully.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue