Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Remove update-notifier dependency (#2262)
Browse files Browse the repository at this point in the history
  • Loading branch information
adidahiya authored and nchen63 committed Mar 2, 2017
1 parent 7a782a3 commit 5d21a09
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 287 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"glob": "^7.1.1",
"optimist": "~0.6.0",
"resolve": "^1.1.7",
"tsutils": "^1.1.0",
"update-notifier": "^2.0.0"
"tsutils": "^1.1.0"
},
"peerDependencies": {
"typescript": ">=2.0.0 || >=2.0.0-dev || >=2.1.0-dev || >=2.2.0-dev || >=2.3.0-dev"
Expand All @@ -62,7 +61,6 @@
"@types/node": "^6.0.56",
"@types/optimist": "0.0.29",
"@types/resolve": "0.0.4",
"@types/update-notifier": "^1.0.0",
"chai": "^3.5.0",
"github": "^8.1.1",
"js-yaml": "^3.7.0",
Expand Down
6 changes: 0 additions & 6 deletions src/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
import { FatalError } from "./error";
import * as Linter from "./linter";
import { consoleTestResultsHandler, runTests } from "./test";
import { updateNotifierCheck } from "./updateNotifier";

export interface IRunnerOptions {
/**
Expand Down Expand Up @@ -257,10 +256,5 @@ export class Runner {
onComplete(2);
}
});

if (lintResult.format === "prose") {
// Check to see if there are any updates available
updateNotifierCheck();
}
}
}
42 changes: 0 additions & 42 deletions src/updateNotifier.ts

This file was deleted.

Loading

0 comments on commit 5d21a09

Please sign in to comment.