I'm adding a new error code, and I'm getting:
=== release test-make-doc ===
Path: doctool/test-make-doc
assert.js:338
throw err;
^
AssertionError [ERR_ASSERTION]: _toc.html does not not match TOC
at Object.<anonymous> (/Users/matteo/Repositories/node/test/doctool/test-make-doc.js:45:10)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:266:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3)
Command: out/Release/node /Users/matteo/Repositories/node/test/doctool/test-make-doc.js
Considering that _toc.md was deleted in https://github.com/nodejs/node/pull/21637, what should I do to fix this?
cc @rubys
Delete it, and run the build again. :-)
rm -rf out/doc
Can we add the instructions rm -rf out/doc to the error message? It would be very helpful!
I think this can be closed as https://github.com/nodejs/node/pull/21913 that somewhat address this has landed?