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

Handle emptymatched files list (fixes #1863) #1933

Merged
merged 3 commits into from Jan 1, 2017

Conversation

IllusionMH
Copy link
Contributor

PR checklist

What changes did you make?

Explicitly specifies empty array as initial value for reduce over array of all matched files.

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

Probably TSLint should inform user that everything is ok, but no files was matched by tsconfig.json or passed globs since this hardly expected behavior.
Moreover it might be useful to provide recommendation how to avoid common problems (use " around globes in command line, in npm scripts etc,)

@nchen63 nchen63 merged commit 50cb7ec into palantir:master Jan 1, 2017
@IllusionMH IllusionMH deleted the handle-empty-files-list branch January 8, 2017 12:23
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