Skip to content

Commit

Permalink
Fix counting of error deletion in linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Apr 16, 2023
1 parent b2f2611 commit f539f86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/codemirror/ubo-static-filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,7 @@ CodeMirror.registerHelper('fold', 'ubo-static-filtering', (( ) => {
if ( marker === null ) { return; }
if ( marker.dataset.lint === 'error' ) {
errorCount -= 1;
marker.dataset.lint = 'void';
}
});
};
Expand Down

0 comments on commit f539f86

Please sign in to comment.