This repository was archived by the owner on Jul 2, 2026. It is now read-only.
Commit 5746de1
committed
fix(cargo-sort): pass manifest directory to cargo-sort, not the bare Cargo.toml
cargo-sort rejects single-Cargo.toml positional args with 'No crate folder
found' when there's no surrounding workspace; it requires a directory. The
wrapper now calls dirname on each manifest and passes the directory, which
works for both root-flat single-crate repos (e.g. alef post-0.18.0) and
workspace subcrates.1 parent aa3cc9e commit 5746de1
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
0 commit comments