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

--test: allow target other than default #3296

Merged
merged 1 commit into from Oct 19, 2017
Merged

--test: allow target other than default #3296

merged 1 commit into from Oct 19, 2017

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented Oct 7, 2017

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update

Overview of change:

Removed unnecessary import of Error which caused a crash at runtime if there was an error in a .lint file.
CompilerHost used for rule tests can now handle any lib.xxx.d.ts file, not just the default.

Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:

[bugfix] --test works correctly with any compilerOptions.target

@ajafff ajafff mentioned this pull request Oct 7, 2017
4 tasks
[bugfix] `--test` works correctly with any `compilerOptions.target`
@adidahiya adidahiya merged commit 6957a92 into palantir:master Oct 19, 2017
HyphnKnight pushed a commit to HyphnKnight/tslint that referenced this pull request Apr 9, 2018
[bugfix] `--test` works correctly with any `compilerOptions.target`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants