Skip to content

Commit

Permalink
MID-8842 ninja - console colors fix
Browse files Browse the repository at this point in the history
(cherry picked from commit 1a28ac5)
  • Loading branch information
1azyman committed Aug 2, 2023
1 parent 6987ba1 commit 857b1fc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

import com.evolveum.midpoint.ninja.action.Action;

/**
* TODO think this through - how to format different messages
*/
public final class ConsoleFormat {

public enum Level {
Expand All @@ -29,7 +32,7 @@ private ConsoleFormat() {
}

public static void setBatchMode(boolean batchMode) {
Ansi.setEnabled(batchMode);
Ansi.setEnabled(!batchMode);
}

public static String formatActionStartMessage(Action action) {
Expand Down

0 comments on commit 857b1fc

Please sign in to comment.