Closed emcfarlane closed 2 weeks ago
On missing an insertion point, fail with a user facing error and avoid panic'ing due to an invalid slice when the insertion point file is empty.
Fixes #1649
From the issue, buf will now correctly return an error like:
buf
Failure: plugin prost-crate: could not find insertion point "features" in "Cargo.toml"
On missing an insertion point, fail with a user facing error and avoid panic'ing due to an invalid slice when the insertion point file is empty.
Fixes #1649
From the issue,
buf
will now correctly return an error like: