We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a97518 commit 00461d2Copy full SHA for 00461d2
premerge/advisor/advisor.py
@@ -4,6 +4,7 @@
4
from flask import Flask
5
6
import advisor_lib
7
+import git_utils
8
9
advisor_blueprint = flask.Blueprint("advisor", __name__)
10
@@ -39,6 +40,7 @@ def create_app(db_path: str, repository_path: str):
39
40
app = Flask(__name__)
41
app.register_blueprint(advisor_blueprint)
42
app.teardown_appcontext(_close_db)
43
+ git_utils.clone_repository_if_not_present(repository_path)
44
with app.app_context():
45
app.config["DB_PATH"] = db_path
46
app.config["REPO_PATH"] = repository_path
0 commit comments