Skip to content

Commit

Permalink
Chore: Fix CI: Use strict equality (laurent22#6702)
Browse files Browse the repository at this point in the history
  • Loading branch information
personalizedrefrigerator committed Jul 29, 2022
1 parent 21d5800 commit 12a510c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ const computeDecorations = (view: EditorView) => {
// Only block decorations will have differing first and last lines
if (blockDecorated) {
// Allow different styles for the first, last lines in a block.
if (viewFrom == node.from) {
if (viewFrom === node.from) {
addDecorationToLines(viewFrom, viewFrom, regionStartDecoration);
}

if (viewTo == node.to) {
if (viewTo === node.to) {
addDecorationToLines(viewTo, viewTo, regionStopDecoration);
}
}
Expand Down

0 comments on commit 12a510c

Please sign in to comment.