mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 12:50:38 +08:00
args bug
This commit is contained in:
@ -54,7 +54,7 @@ class PRReviewer:
|
|||||||
|
|
||||||
def parse_args(self, args):
|
def parse_args(self, args):
|
||||||
is_incremental = False
|
is_incremental = False
|
||||||
if len(args) >= 1:
|
if args and len(args) >= 1:
|
||||||
arg = args[0]
|
arg = args[0]
|
||||||
if arg == "-i":
|
if arg == "-i":
|
||||||
is_incremental = True
|
is_incremental = True
|
||||||
|
Reference in New Issue
Block a user