[gnome-builder] eslint: silence stderr on subprocess
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] eslint: silence stderr on subprocess
- Date: Sat, 1 Jan 2022 19:09:40 +0000 (UTC)
commit ee257211c8ae2f9ebbbd50b98b30642e70b00eb3
Author: Christian Hergert <chergert redhat com>
Date: Sat Jan 1 10:53:48 2022 -0800
eslint: silence stderr on subprocess
src/plugins/eslint/eslint_plugin.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/eslint/eslint_plugin.py b/src/plugins/eslint/eslint_plugin.py
index c11221145..1b76201a7 100644
--- a/src/plugins/eslint/eslint_plugin.py
+++ b/src/plugins/eslint/eslint_plugin.py
@@ -65,7 +65,7 @@ class ESLintDiagnosticProvider(Ide.Object, Ide.DiagnosticProvider):
if launcher is None:
launcher = Ide.SubprocessLauncher.new(0)
- launcher.set_flags(Gio.SubprocessFlags.STDIN_PIPE | Gio.SubprocessFlags.STDOUT_PIPE)
+ launcher.set_flags(Gio.SubprocessFlags.STDIN_PIPE | Gio.SubprocessFlags.STDOUT_PIPE |
Gio.SubprocessFlags.STDERR_SILENCE)
launcher.set_cwd(srcdir)
return launcher
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]