GoogleChromeLabs / wasm-feature-detect

A small library to detect which features of WebAssembly are supported.

Home Page:https://webassembly.org/roadmap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

render-readme.mjs swallows return code

ngzhian opened this issue · comments

See https://github.com/GoogleChromeLabs/wasm-feature-detect/blob/master/render-readme.mjs#L41, it catches the error, logs it, but overall the script still returns 0.

When running npm run build which has more than a single page of output, it can be easy to miss.

Getting this to work cross-platform seems impossible. For now, it seems fine to close this and remember to check the logged output carefully.