Remove unneccssary code (#31734)

This commit is contained in:
Andrew Fitzgerald 2023-05-23 10:35:22 -07:00 committed by GitHub
parent 61afb07dbd
commit 91a57039d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 10 deletions

View File

@ -1390,16 +1390,6 @@ pub fn main() {
.map(|shrink_paths| shrink_paths.into_iter().map(PathBuf::from).collect())
.ok();
// Create and canonicalize account paths to avoid issues with symlink creation
account_paths.iter().for_each(|account_path| {
fs::create_dir_all(account_path)
.and_then(|_| fs::canonicalize(account_path))
.unwrap_or_else(|err| {
eprintln!("Unable to access account path: {account_path:?}, err: {err:?}");
exit(1);
});
});
let (account_run_paths, account_snapshot_paths) =
create_all_accounts_run_and_snapshot_dirs(&account_paths).unwrap_or_else(|err| {
eprintln!("Error: {err:?}");