Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

lint: Suppress Ruby warnings from puppet on Ubuntu 20.04.

Anders Kaseorg16a4a4693478
diff --git a/tools/lint b/tools/lint
index 09b46136713..f9353cd1d2b 100755
--- a/tools/lint
+++ b/tools/lint
@@ -67,7 +67,7 @@ def run() -> None:
)
linter_config.external_linter(
"puppet",
- ["puppet", "parser", "validate"],
+ ["env", "RUBYOPT=-W0", "puppet", "parser", "validate"],
["pp"],
description="Runs the puppet parser validator, checking for syntax errors.",
)