Skip to content

showConfig printing help if no config is found #35410

@royAmmerschuber

Description

@royAmmerschuber

TypeScript Version: 3.8.0-dev.20191128

Search Terms:
showConfig

Example
when running the command tsc --showConfig in a folder without a tsconfig.json file it shows the help page

Expected behavior:
throw an error (for example: no config found) or return empty config (for example: {})

Actual behavior:
shows the standard help page from tsc -h, wich doesn't even contain any help for --showConfig.
Playground Link: None
Related Issues: None

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions