Skip to content

Conversation

@yardenshoham
Copy link
Collaborator

For debugging purposes

For debugging purposes

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
@yardenshoham yardenshoham enabled auto-merge (squash) May 17, 2024 15:57
export const removeBackportLabelsFromPrs = (prs) => {
if (prs === undefined) {
throw new Error("removeBackportLabelsFromPrs called with undefined");
}
Copy link
Collaborator

@silverwind silverwind May 17, 2024

Choose a reason for hiding this comment

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

If you add a type to prs, typescript could statically determine whether this function could ever be called with undefined.

But fine with me regardless if you just want to debug.

@yardenshoham yardenshoham merged commit 8285cf3 into main May 17, 2024
@yardenshoham yardenshoham deleted the add-err-log-for-removeBackportLabelsFromPrs branch May 17, 2024 23:06
@silverwind
Copy link
Collaborator

silverwind commented May 17, 2024

Would prefer if you would not immediately enable auto merge in the future. Often I like to approve with remarks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants