diff --git a/yaml_shellcheck.py b/yaml_shellcheck.py index f19b638..0f468bd 100755 --- a/yaml_shellcheck.py +++ b/yaml_shellcheck.py @@ -94,7 +94,7 @@ def get_scripts(data, path): isinstance(data, str) or isinstance(data, int) or isinstance(data, float) - or isinstance(data, None) + or data is None ): pass return results @@ -145,7 +145,7 @@ def get_runs(data, path): isinstance(data, str) or isinstance(data, int) or isinstance(data, float) - or isinstance(data, None) + or data is None ): pass return results