Skip to content

Commit

Permalink
comparisonWalker -> debugWalker
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelgmiller committed Jul 25, 2013
1 parent 2871ed1 commit 17d2412
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/tslint/rules/debugRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ module Lint.Rules {

public apply(syntaxTree: TypeScript.SyntaxTree): RuleFailure[] {
var sourceUnit = syntaxTree.sourceUnit();
var comparisonWalker = new DebugWalker(syntaxTree.fileName());
var debugWalker = new DebugWalker(syntaxTree.fileName());

sourceUnit.accept(comparisonWalker);
sourceUnit.accept(debugWalker);

return comparisonWalker.getFailures();
return debugWalker.getFailures();
}
}

Expand Down
6 changes: 3 additions & 3 deletions tslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -63699,11 +63699,11 @@ var Lint;

SubRule.prototype.apply = function (syntaxTree) {
var sourceUnit = syntaxTree.sourceUnit();
var comparisonWalker = new SubWalker(syntaxTree.fileName());
var subWalker = new SubWalker(syntaxTree.fileName());

sourceUnit.accept(comparisonWalker);
sourceUnit.accept(subWalker);

return comparisonWalker.getFailures();
return subWalker.getFailures();
};
return SubRule;
})(Rules.BaseRule);
Expand Down

0 comments on commit 17d2412

Please sign in to comment.