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

fix: custom debug function not processing all args #13418

Merged
merged 6 commits into from May 18, 2023

Conversation

IslandRhythms
Copy link
Collaborator

closes #13364

Had to fix a couple of tests because of the changes. Let me know if that is not the correct approach.

@@ -208,8 +208,14 @@ function iter(i) {

if (debug) {
if (typeof debug === 'function') {
let range = '';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please stop initializing values that aren't strings to empty strings. If you want to add a placeholder value, do let range = null

@vkarpov15 vkarpov15 added this to the 7.1.2 milestone May 18, 2023
@vkarpov15 vkarpov15 merged commit 722ab43 into master May 18, 2023
34 checks passed
@vkarpov15 vkarpov15 deleted the IslandRhythms/gh-13364 branch May 18, 2023 22:17
@forivall
Copy link

I see this happening on 6.x - could this be backported? (shall I open a PR?)

@vkarpov15
Copy link
Collaborator

@forivall sure, if you're able to open a PR that would be great.

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.

Custom debug function missing last method argument
3 participants