Skip to content

Commit 45ed774

Browse files
committed
Merge pull request #8130 from brave/lint_cl_getchange
Fix 8127: Update GetChange to remove the author arg
1 parent 1a0cff2 commit 45ed774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/lint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def main(args):
4747
os.chdir(settings.GetRoot())
4848
try:
4949
cl = git_cl.Changelist()
50-
change = cl.GetChange(git_common.get_or_create_merge_base(cl.GetBranch(), options.base_branch), None)
50+
change = cl.GetChange(git_common.get_or_create_merge_base(cl.GetBranch(), options.base_branch))
5151
files = [f.LocalPath() for f in change.AffectedFiles()]
5252
if not files:
5353
print('Cannot lint an empty CL')

0 commit comments

Comments
 (0)