damccorm commented on code in PR #24765:
URL: https://github.com/apache/beam/pull/24765#discussion_r1055765128
##########
scripts/ci/pr-bot/shared/persistentState.ts:
##########
@@ -40,14 +40,20 @@ async function commitStateToRepo() {
);
}
// Print changes for observability
- await exec.exec("git status", [], {ignoreReturnCode: true});
+ await exec.exec("git status", [], { ignoreReturnCode: true });
await exec.exec("git add state/*");
- const changes = await exec.exec("git diff --quiet --cached
origin/pr-bot-state state", [], {ignoreReturnCode: true});
+ const changes = await exec.exec(
+ "git diff --quiet --cached origin/pr-bot-state state",
+ [],
+ { ignoreReturnCode: true }
+ );
if (changes == 1) {
await exec.exec(`git commit -m "Updating config from bot" --allow-empty`);
await exec.exec("git push origin pr-bot-state");
} else {
- console.log("Skipping updating state branch since there are no changes to
commit");
+ console.log(
+ "Skipping updating state branch since there are no changes to commit"
+ );
Review Comment:
Changes in this file are non-functional, I just ran `npm run format`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]