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 6618ce2 commit 91ffcc0Copy full SHA for 91ffcc0
scripts/lint.py
@@ -47,7 +47,7 @@ def main(args):
47
os.chdir(settings.GetRoot())
48
try:
49
cl = git_cl.Changelist()
50
- change = cl.GetChange(git_common.get_or_create_merge_base(cl.GetBranch(), options.base_branch), None)
+ change = cl.GetChange(git_common.get_or_create_merge_base(cl.GetBranch(), options.base_branch))
51
files = [f.LocalPath() for f in change.AffectedFiles()]
52
if not files:
53
print('Cannot lint an empty CL')
0 commit comments