-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Handle both underscores and hypthens as separators in "wasm-bind… #267
Conversation
0878e98
to
12210c2
Compare
style("wasm-bindgen").bold().dim() | ||
)) | ||
get_wasm_bindgen_version(path)?; | ||
Ok(()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄
src/manifest.rs
Outdated
match deps | ||
.get("wasm-bindgen") | ||
.or_else(|| deps.get("wasm_bindgen")) | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really nice :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the failing test case, this all looks good to me! Always nice to see more test cases as well :)
Looking into the test that failed, it seems to be related to that fixture's wasm-bindgen dependency in its Cargo.toml, if I understand correctly?
|
12210c2
to
0b669ec
Compare
…gen" dependencies
0b669ec
to
b480674
Compare
…gen" dependencies
Make sure these boxes are checked! 📦✅
rustfmt
installed and have yourcloned directory set to nightly
$ rustup override set nightly $ rustup component add rustfmt-preview --toolchain nightly
rustfmt
on the code base before submittingYou reference which issue is being closed in the PR text✨✨ 😄 Thanks so much for contributing to wasm-pack! 😄 ✨✨