Skip to content

Commit

Permalink
Remove useless comment
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <[email protected]>
  • Loading branch information
worksofliam committed Sep 18, 2024
1 parent faaa254 commit e945701
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion language/linter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ export default class Linter {
if (ruleCount > 0 && ![skipRules.single, skipRules.singleRules].includes(currentRule)) {

const currentProcedure = globalScope.procedures.find(proc => proc.position.path === data.uri && lineNumber >= proc.range.start && lineNumber <= proc.range.end);
// const currentProcedure = globalScope.procedures.find(proc => lineNumber >= proc.range.start && lineNumber <= proc.range.end);
const currentScope = globalScope.merge(inProcedure && currentProcedure ? currentProcedure.scope : undefined);

// Only fetch the names if we have a rule that requires it. It might be slow.
Expand Down

0 comments on commit e945701

Please sign in to comment.