Skip to content

Commit

Permalink
Linter did not lint my code
Browse files Browse the repository at this point in the history
re-worked it, so it lints and looks nice.

Signed-off-by: Dave Shanley <dshanley@splunk.com>
  • Loading branch information
daveshanley committed Jul 19, 2022
1 parent 4fbb58c commit 12db6e5
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ export class ViolationDrawerComponent extends BaseComponent {

sections.forEach((section: string) => {
if (section.match(rx)) {
renders.push(html`
<span class="backtick-element">${section.replace(/`/g, '')}</span>`);
const bt = section.replace(/`/g, '');
const dat = html`<span class="backtick-element">${bt}</span>`;
renders.push(dat);
} else {
if (section != '') {
renders.push(html`${section}`);
Expand Down

0 comments on commit 12db6e5

Please sign in to comment.