Skip to content

Commit

Permalink
Keep the selected output mode if ci is not active (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayjs committed Sep 21, 2020
1 parent c875a44 commit ba5694c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Core/src/ca/uqac/lif/textidote/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -505,14 +505,14 @@ else if (output_method.compareToIgnoreCase("json") == 0)
renderer = new JsonAdviceRenderer(stdout, lang_s);
}
}
if (map.hasOption("ci"))
{
usingCI = true;
}
else
{
renderer = new AnsiAdviceRenderer(stdout);
}
if (map.hasOption("ci"))
{
usingCI = true;
}

// Process files
int num_advice = 0;
Expand Down

0 comments on commit ba5694c

Please sign in to comment.