Skip to content

Commit

Permalink
Update src/service/git/github/github-client.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Lamparelli <[email protected]>
  • Loading branch information
earl-warren and lampajr authored Apr 8, 2024
1 parent 7e6dc0f commit ad14842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/git/github/github-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default class GitHubClient implements GitClient {
repo: repo,
commit_sha: (commit_sha as string),
});
squash = commit.data.parents.length == 1;
squash = commit.data.parents.length === 1;
if (squash === true) {
this.logger.debug(`cherry-pick one commit because the pull request was merged as ${commit_sha} which is a not a merge commit (one parent)`);
} else {
Expand Down

0 comments on commit ad14842

Please sign in to comment.