This commit is contained in:
Alexey Kudravtsev
2017-12-14 14:24:02 +03:00
parent 02a852d1ba
commit 08c15d5a85
3 changed files with 4 additions and 4 deletions
@@ -16,7 +16,7 @@ public class PyEduConsoleInputFilterProvider implements ConsoleInputFilterProvid
public InputFilter[] getDefaultFilters(@NotNull Project project) {
return new InputFilter[]{new InputFilter() {
@Override
public List<Pair<String, ConsoleViewContentType>> applyFilter(@NotNull String text, ConsoleViewContentType outputType) {
public List<Pair<String, ConsoleViewContentType>> applyFilter(@NotNull String text, @NotNull ConsoleViewContentType outputType) {
if (outputType.equals(ConsoleViewContentType.SYSTEM_OUTPUT) && !text.contains("exit code")) {
return Collections.emptyList();
}