Skip to content

Commit

Permalink
Fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlu1248 committed Mar 15, 2024
1 parent 7d2bce8 commit d060f8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ build-backend = "setuptools.build_meta"
packages = { find = { where = ["."], exclude = ["tests", "sdk", "benchmark", "docs", "tests.*", "sdk.*", "benchmark.*", "docs.*"] } }

[project.scripts]
sweep = "sweepai.cli:app"
sweepai = "sweepai.cli:app"
sweep = "sweepai.cli:main"
sweepai = "sweepai.cli:main"

[project.urls]
Repository = "https://github.com/sweepai/sweep"
Expand All @@ -18,7 +18,7 @@ Homepage = "https://sweep.dev"

[project]
name = "sweepai"
version = "1.1.2"
version = "1.1.3"
description = "Sweep fixes GitHub issues"
authors = [
{name = "Kevin Lu", email = "[email protected]"},
Expand Down
6 changes: 5 additions & 1 deletion sweepai/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@ def run(issue_url: str):
)


if __name__ == "__main__":
def main():
load_config()
app()


if __name__ == "__main__":
main()

0 comments on commit d060f8e

Please sign in to comment.