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

Commit

Permalink
fix(ecl-diff): linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
planctus committed Jan 21, 2020
1 parent ad06436 commit bb14103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/php_storybook/scripts/ecl-diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ yargsInteractive()

// The html we get is enriched by a syntax highlighter.
eclMarkup = decode(eclMarkup.replace(/<\/?[^>]+(>|$)/g, ''));
eclMarkupMinusDiv = eclMarkup.replace(/^<div>/, '');
const eclMarkupMinusDiv = eclMarkup.replace(/^<div>/, '');
if (eclMarkupMinusDiv !== eclMarkup) {
eclMarkup = eclMarkupMinusDiv.replace(/<\/div>$/, '');
}
Expand Down

0 comments on commit bb14103

Please sign in to comment.