Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): fix spread logic #372

Merged
merged 4 commits into from
Apr 12, 2022
Merged

chore(ci): fix spread logic #372

merged 4 commits into from
Apr 12, 2022

Conversation

eunjae-lee
Copy link
Contributor

@eunjae-lee eunjae-lee commented Apr 12, 2022

🧭 What and Why

Changes included:

It should not have returned. The return statement stopped the for-loop. I must've confused with forEach.

@netlify
Copy link

netlify bot commented Apr 12, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit a48e51b
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/6255965e445e82000923e6dc

@eunjae-lee eunjae-lee requested review from a team, damcou and shortcuts and removed request for a team April 12, 2022 08:40
@algolia-bot
Copy link
Collaborator

algolia-bot commented Apr 12, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.

Comment on lines 71 to 81
} else {
await configureGitHubAuthor(tempGitDir);
await run(`git add .`, { cwd: tempGitDir });
await gitCommit({
message: commitMessage,
coauthor: { name, email },
cwd: tempGitDir,
});
await run(`git push`, { cwd: tempGitDir });
console.log(`✅ Spread the generation to ${lang} repository.`);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can replace the return with continue; and keep the same logic

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eunjae-lee eunjae-lee enabled auto-merge (squash) April 12, 2022 15:10
@eunjae-lee eunjae-lee merged commit d54e384 into main Apr 12, 2022
@eunjae-lee eunjae-lee deleted the fix/spread branch April 12, 2022 15:21
algolia-bot added a commit to algolia/algoliasearch-client-javascript that referenced this pull request Apr 12, 2022
shortcuts pushed a commit that referenced this pull request Apr 22, 2022
* chore(ci): fix spread logic

* chore: early continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants