Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

tests if errors is an array in dialogError #1080

Merged
merged 1 commit into from
Oct 10, 2017

Conversation

colestrode
Copy link
Contributor

Tests for errors array in a safe way. I used Object.prototype.toString.call to be backwards compatible with pre-6 versions of Node. Otherwise Array.isArray would be the preferred way.

Closes #1079.

@benbrown benbrown merged commit 74fe927 into howdyai:master Oct 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants