Skip to content
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

Panic in v0.7 #561

Closed
Boshen opened this issue Feb 18, 2024 · 2 comments
Closed

Panic in v0.7 #561

Boshen opened this issue Feb 18, 2024 · 2 comments

Comments

@Boshen
Copy link

Boshen commented Feb 18, 2024

npm version @taplo/cli@v0.7.0, in the Rspack repo:

monorepo@0.5.4 format:toml /Users/bytedance/github/rspack
npx @taplo/cli format '.cargo/*.toml' './crates/**/Cargo.toml' './Cargo.toml'

 INFO taplo:format_files:load_config: found configuration file path="/Users/bytedance/github/rspack/.taplo.toml"
 INFO taplo:format_files:collect_files: found files total=60 excluded=0 cwd="/Users/bytedance/github/rspack"
panicked at /Users/JounQin/Workspaces/GitHub/taplo/crates/taplo/src/formatter/mod.rs:684:25:
assertion failed: entry.comment.is_none()

debug_assert!(entry.comment.is_none());

It seems like you're building the wasm version on your own machine without the --release flag ;-)

Latest binary version v0.9.0 from cargo doesn't crash, so perhaps just a new release to npm should fix the problem.

@JounQin
Copy link
Collaborator

JounQin commented Feb 18, 2024

Duplicate of #559

@JounQin JounQin marked this as a duplicate of #559 Feb 18, 2024
@JounQin JounQin closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2024
@JounQin
Copy link
Collaborator

JounQin commented Feb 18, 2024

Blocked by #547 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants