Skip to content

Conversation

@stevenmg
Copy link

No description provided.

var description = methods._description.call(this, step);

if (description.length) {
if (description != null && description.length) {

Choose a reason for hiding this comment

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

Here you need to use description !== null to compare strict with types. 😄

Copy link
Author

Choose a reason for hiding this comment

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

Valid point. It was also undefined, not null so I changed that as well.

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