Skip to content
Snippets Groups Projects
Commit 0b8eab8d authored by Mike McQuaid's avatar Mike McQuaid
Browse files

formula_versions: also silence stderr.

We already stop old formula versions printing stdout but this also stops
them printing on stderr for e.g. old deprecation warnings.
parent 24b5db53
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ class FormulaVersions
contents = file_contents_at_revision(rev)
begin
nostdout { yield Formulary.from_contents(name, path, contents) }
shutup { yield Formulary.from_contents(name, path, contents) }
rescue *IGNORED_EXCEPTIONS => e
# We rescue these so that we can skip bad versions and
# continue walking the history
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment