fix linting

pull/3978/head
aniket-engg 2 years ago committed by Aniket
parent 913fc97043
commit 134d9a2033
  1. 8
      libs/remix-ui/editor/src/lib/providers/codeActionProvider.ts

@ -60,12 +60,12 @@ export class RemixCodeActionProvider implements monaco.languages.CodeActionProvi
} }
} }
} else { } else {
for (const fix of fixes) { for (const fix of fixes) {
if (fix && nodeAtPosition && fix.nodeType !== nodeAtPosition.nodeType) continue if (fix && nodeAtPosition && fix.nodeType !== nodeAtPosition.nodeType) continue
else this.addQuickFix(actions, error, model.uri, {title: fix.title, range: fix.range || error, text: fix.message}) else this.addQuickFix(actions, error, model.uri, {title: fix.title, range: fix.range || error, text: fix.message})
}
} }
} }
}
} }
return { return {

Loading…
Cancel
Save