Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.

Commit

Permalink
forgot a paren
Browse files Browse the repository at this point in the history
  • Loading branch information
jtzero authored Jul 14, 2016
1 parent 14924c2 commit 4750eb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postcss-host.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = postcss.plugin('postcss-host', function () {
rule.selectors.forEach(function (selector) {
var idx = selector.indexOf(':host');
var hostCtxIdx = selector.indexOf(':host-context');
if (idx === -1 && !(hostCtxIdx === -1 && hostCtxIdx === idx) {
if (idx === -1 && !(hostCtxIdx === -1 && hostCtxIdx === idx)) {
replaced.push(':host ' + selector);
} else {
replaced.push(selector);
Expand Down

0 comments on commit 4750eb0

Please sign in to comment.