Skip to content

Commit

Permalink
feat: Updates to main and app
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekMasher committed Aug 6, 2024
1 parent 5957307 commit 138d672
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ghasreview/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
logging.debug(f"GHAS Tool Name :: {arguments.ghas_tool_name}")

if arguments.test_mode:
logging.info(f"Testing mode enabled, exiting...")
logging.info("Testing mode enabled, exiting...")
exit(0)

if not arguments.github_app_id:
Expand Down
3 changes: 1 addition & 2 deletions ghasreview/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from typing import Dict

from flask import Flask, redirect, current_app, jsonify
from flask_githubapp import GitHubApp
from ghasreview.flask_githubapp import GitHubApp

from ghasreview import __url__
from ghasreview.process import CodeScanningAlert, Processes
Expand Down Expand Up @@ -177,4 +177,3 @@ def run(config: Dict, debug: bool = False):
githubapp.init_app(app)

app.run("0.0.0.0", debug=debug, port=8000)

0 comments on commit 138d672

Please sign in to comment.