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

requireSpaceBeforeKeywords: hotfix for predefined list of keywords #2136

Closed
wants to merge 1 commit into from

Conversation

qfox
Copy link
Member

@qfox qfox commented Feb 15, 2016

Fixes #2135

/cc @hzoo @ljharb

@@ -55,7 +55,7 @@ module.exports.prototype = {
excludedKeywords = keywords.allExcept;
}

keywords = defaultKeywords.filter(function(keyword) {
keywords = (keywords === true ? defaultKeywords : keywords).filter(function(keyword) {
Copy link
Contributor

Choose a reason for hiding this comment

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

this will work but @hzoo pointed out that instead, this statement should instead be moved into the preceding "if" block.

@ljharb
Copy link
Contributor

ljharb commented Feb 15, 2016

Looks like this can be closed with @markelog's 594a4ee?

@hzoo
Copy link
Member

hzoo commented Feb 15, 2016

Yeah

@hzoo hzoo closed this Feb 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants