[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2021-08-28 00:44:26 +00:00
parent 31646fbfc6
commit f700a2f775
+1
View File
@@ -309,6 +309,7 @@ def build(options: BuildOptions) -> None:
troubleshoot(options, error)
sys.exit(1)
def _matches_prepared_command(error_cmd: List[str], command_template: str) -> bool:
if len(error_cmd) < 3 or error_cmd[0:2] != ["sh", "-c"]:
return False