Skip to content

Improve build.sh error messages #189

Open
@kenrussell

Description

@kenrussell

Attempting to make a fairly small recent change, build.sh reports the following error:

$ ./build.sh
Checking if html-build is up to date...
Looking for the HTML source (set HTML_SOURCE to override)...
Found /home/kbr/src/kenrussell/whatwg/html (alongside html-build)...
Linting the source file...
Downloading caniuse data...
Downloading mdn-spec-links/html.json...
Pre-processing the source...
Started httpserver on port 8080

Local wattsi is not present; trying the build server...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 9472k 100 152 100 9472k 72 4519k 0:00:02 0:00:02 --:--:-- 4521k
Parsing MDN data...
Parsing caniuse.com data...
Processing caniuse.com data...
Parsing...
Parse Error: (94117,77) parse error while closing p element

There were errors. Stopping.

Line number 94117 in "source" isn't anywhere near the changes I made. It seems clear the error's in a generated file but I can't figure out which one. Could the error messages from the build script please be improved? Diff is attached.

create-imagebitmap-options-diff.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions