Skip to content

Fail build if pages array in config references an unknown file #23

@chrispcampbell

Description

@chrispcampbell

We had a case where someone accidentally changed a pages entry in the .config.json file to an empty string, and the build failed with a cryptic error message. We should add a validation step that checks that each file exists in the pages array, and if not, produce a helpful error message.

Metadata

Metadata

Labels

improvementInternal improvement or refactoring

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions