Prospector linter is raising error when no warnings are present in file (#1680). Copied fix from #779.