pugjs/pug
View on GitHubGenerated `debug_sources` are node `Buffer`s and fail `pug_rethrow`
Open
#3290 opened on Aug 18, 2020
Good First Issuebug
Description
Pug Version: your version number here 3.0.0
Node Version: your version number here 14.7.0
When an included file is read, it's Buffer being stored in debug_sources:
Later, this value is passed to the generator and being serialized as-it in the final render function.
Which fails pug_rethrow's expectation, and makes it throw: