Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Fix bug: tslint dependency is now in "dependencies", not "devDependen…
Browse files Browse the repository at this point in the history
…cies"
  • Loading branch information
Andy Hanson committed May 8, 2017
1 parent fad47df commit 9cc69ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export async function execAndThrowErrors(cmd: string, cwd?: string): Promise<voi
});
}

const tslintVersion: string = require("../package.json").devDependencies.tslint; // tslint:disable-line:no-var-requires
const tslintVersion: string = require("../package.json").dependencies.tslint; // tslint:disable-line:no-var-requires
if (!tslintVersion) {
throw new Error("Missing tslint version.");
}
Expand Down

0 comments on commit 9cc69ec

Please sign in to comment.