Skip to content

Commit

Permalink
console.log in tslint rule crashes ts server
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Mar 25, 2019
1 parent 6e72694 commit 6d7959a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion build/lib/tslint/noNlsInStandaloneEditorRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const Lint = require("tslint");
const path_1 = require("path");
class Rule extends Lint.Rules.AbstractRule {
apply(sourceFile) {
console.log(sourceFile.fileName);
if (/vs(\/|\\)editor(\/|\\)standalone(\/|\\)/.test(sourceFile.fileName)
|| /vs(\/|\\)editor(\/|\\)common(\/|\\)standalone(\/|\\)/.test(sourceFile.fileName)
|| /vs(\/|\\)editor(\/|\\)editor.api/.test(sourceFile.fileName)
Expand Down
1 change: 0 additions & 1 deletion build/lib/tslint/noNlsInStandaloneEditorRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { join } from 'path';

export class Rule extends Lint.Rules.AbstractRule {
public apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] {
console.log(sourceFile.fileName);
if (
/vs(\/|\\)editor(\/|\\)standalone(\/|\\)/.test(sourceFile.fileName)
|| /vs(\/|\\)editor(\/|\\)common(\/|\\)standalone(\/|\\)/.test(sourceFile.fileName)
Expand Down

0 comments on commit 6d7959a

Please sign in to comment.