Skip to content

Commit

Permalink
Pinpointing the location of indent exception
Browse files Browse the repository at this point in the history
  • Loading branch information
William Bernting (whf962) committed Sep 2, 2020
1 parent a2f5db3 commit 85f1c6f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ export default function register(Component, tagName, propNames, options) {

this.styleObserver = beginInjectingGlobalStyles(
inst.shadowRoot,
/* eslint-disable indent */
options.injectGlobalStyles === true
? defaults
: {
: /* eslint-disable indent */
{
...defaults,
...options.injectGlobalStyles,
/* eslint-enable indent */
}
/* eslint-enable indent */
);
}

Expand Down

0 comments on commit 85f1c6f

Please sign in to comment.