Skip to content

Commit a0de695

Browse files
committed
move validate_manifest to after remove_override_files & tweak_toml
to safeguard against potential future security issues
1 parent 4abef85 commit a0de695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prepare.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ impl<'a> Prepare<'a> {
3535

3636
pub(crate) fn prepare(&mut self) -> anyhow::Result<()> {
3737
self.krate.copy_source_to(self.workspace, self.source_dir)?;
38-
self.validate_manifest()?;
3938
self.remove_override_files()?;
4039
self.tweak_toml()?;
40+
self.validate_manifest()?;
4141
self.capture_lockfile()?;
4242
self.fetch_deps()?;
4343

0 commit comments

Comments
 (0)