forked from rustwasm/wasm-pack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustwasm#627 - create a custom error message when wasm-bindgen fails …
…because --web isn't available Change the return type of the child run commands so it can return a CommandError that also captures the stderr if the process fails. See if the returned output contains the 'Unknown flag: --web' error message and if so provide an alternative error that suggests upgrading
- Loading branch information
Kirk Turner
committed
Apr 21, 2019
1 parent
9423867
commit 97fdc94
Showing
2 changed files
with
85 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters