Don't check docs only files for a proper interpreter line

This commit is contained in:
Matt Martz 2015-06-30 13:51:37 -05:00 committed by John Barker
parent 117ecc1e9b
commit d488bd57cc

View file

@ -310,6 +310,7 @@ class ModuleValidator(Validator):
self._find_ps_docs_py_file() self._find_ps_docs_py_file()
self._check_for_gpl3_header() self._check_for_gpl3_header()
if not self._just_docs():
self._check_interpreter(powershell=self._powershell_module()) self._check_interpreter(powershell=self._powershell_module())