Skip to content

Conversation

MikeB2012
Copy link
Collaborator

No description provided.

@MikeB2012 MikeB2012 requested a review from RangerMauve June 8, 2017 21:38
index.js Outdated
@@ -26,7 +26,7 @@ function matches(pattern, topic) {
var patternChar = currentPattern[0];
var currentTopic = topicSegments[i];

if(!currentTopic) return false;
if(!currentTopic && currentPattern !== "#") return false;
Copy link
Owner

Choose a reason for hiding this comment

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

Instead of !== "#" use !== ALL

@MikeB2012 MikeB2012 requested a review from RangerMauve June 8, 2017 21:45
@RangerMauve RangerMauve merged commit 85171b6 into master Jun 8, 2017
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