Skip to content

Commit

Permalink
Merge pull request #17 from SMJSGaming/ignore-fix
Browse files Browse the repository at this point in the history
Fixed the ignore suggestion giving the wrong syntax
  • Loading branch information
dankmeme01 authored Oct 6, 2024
2 parents a5a6e9e + 919f8c2 commit 779ff1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/project/lint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class SuppressDiagnosticProvider implements CodeActionProvider {
action.edit.insert(
document.uri,
new Position(diagnostic.range.start.line, 0),
`${indent}// geode-ignore-${diagnostic.code}\n`
`${indent}// @geode-ignore(${diagnostic.code})\n`
);
action.diagnostics = [diagnostic];
actions.push(action);
Expand Down

0 comments on commit 779ff1f

Please sign in to comment.