Skip to content

Commit 4ae6306

Browse files
authored
Merge pull request #1110 from huntc/no-remove-dir
Do not remove the pkg directory
2 parents 1dc41bc + af8eb33 commit 4ae6306

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/command/utils.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ fn find_manifest_from_cwd() -> Result<PathBuf, failure::Error> {
3737

3838
/// Construct our `pkg` directory in the crate.
3939
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
4140
fs::create_dir_all(&out_dir)?;
4241
fs::write(out_dir.join(".gitignore"), "*")?;
4342
Ok(())

0 commit comments

Comments
 (0)