Files
snapd/tests/lib
Miguel Pires c7b678cb12 .shellcheckrc: ignore all unreachable code warnings
Shellcheck's unreachable code warnings are a bit over-zealous in that
they log a warning for each unreachable line instead of block. We also
sometimes leave unreachable code that is meant to be re-enabled later.
Finally, we can't disable this for specific spread tests (because
shellcheck file-wide disables must be the next non-empty line after a #!
directive), so we'd have to add a disable for each line. Therefore,
disabling for the whole project seems reasonable given the constraints
and that we sometimes leave code to be re-enabled after an exit 0.

This also removes an exit in tools/boot-state which was harmless but
unnecessary because the function invoked before always exits.

Signed-off-by: Miguel Pires <miguel.pires@canonical.com>
2022-12-14 17:31:54 +01:00
..
2021-08-24 15:16:37 -03:00
2022-09-13 09:06:23 -03:00
2022-10-17 16:20:05 -03:00
2022-09-20 11:48:17 -03:00
2020-11-06 09:30:35 -03:00
2022-02-11 14:30:36 +01:00