Skip to content

Commit

Permalink
fix(github): Correct submodule updates for platformCommit=true (#16198
Browse files Browse the repository at this point in the history
)
  • Loading branch information
zharinov committed Jun 23, 2022
1 parent d727a4d commit bce8dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/git/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ export async function clearRenovateRefs(): Promise<void> {
}

const treeItemRegex = regEx(
/^(?<mode>\d{6})\s+(?<type>blob|tree)\s+(?<sha>[0-9a-f]{40})\s+(?<path>.*)$/
/^(?<mode>\d{6})\s+(?<type>blob|tree|commit)\s+(?<sha>[0-9a-f]{40})\s+(?<path>.*)$/
);

const treeShaRegex = regEx(/tree\s+(?<treeSha>[0-9a-f]{40})\s*/);
Expand Down

0 comments on commit bce8dcc

Please sign in to comment.