We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1dc41bc + af8eb33 commit 4ae6306Copy full SHA for 4ae6306
src/command/utils.rs
@@ -37,7 +37,6 @@ fn find_manifest_from_cwd() -> Result<PathBuf, failure::Error> {
37
38
/// Construct our `pkg` directory in the crate.
39
pub fn create_pkg_dir(out_dir: &Path) -> Result<(), failure::Error> {
40
- let _ = fs::remove_dir_all(&out_dir); // Clean up any existing directory and ignore errors
41
fs::create_dir_all(&out_dir)?;
42
fs::write(out_dir.join(".gitignore"), "*")?;
43
Ok(())
0 commit comments