diff --git a/github_app_geo_project/module/pull_request/checks.py b/github_app_geo_project/module/pull_request/checks.py index 224fc832aee..4fd86c05ffb 100644 --- a/github_app_geo_project/module/pull_request/checks.py +++ b/github_app_geo_project/module/pull_request/checks.py @@ -47,7 +47,7 @@ def _get_code_spell_command( content = context.github_project.repo.get_contents(spell_ignore_file) if isinstance(content, github.ContentFile.ContentFile): ignore_file.write(content.decoded_content.decode("utf-8")) - ignore_file.cloase() + ignore_file.close() command.append(f"--ignore-words={ignore_file.name}") break except github.GithubException as exc: