Skip to content

Conversation

@ianhattendorf
Copy link
Member

No description provided.

let toBranch;
processMergeMessageCallback = processMergeMessageCallback ||
// Support old parameter `processMergeMessageCallback`
const isOldOptionParameter = typeof mergeBranchOptions === "function";
Copy link
Member

Choose a reason for hiding this comment

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

Can you output a console.error warning that this parameter is deprecated and should be updated to the new object type?

Copy link
Member

Choose a reason for hiding this comment

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

Any tests that use this method should also be updated to use the new parameter format.

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.

2 participants