Skip to content

[api-extractor] ExtractorConfig.prepare fails if configObject.docModel.apiJsonFilePath is not provided #2466

Open
@vjpr

Description

@vjpr

This happens when programmatically building the config file.

There is an unhandled error when this value is not provided. It tries to write to a file with filename ''.

This should throw a nice error like some of the other settings do.

It would be nice if there was a default IConfigFile that could be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more infoWe can't proceed because we need a better repro or an answer to a question

    Type

    No type

    Projects

    Status

    AE/AD

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions