fix(core): catch errors when cleaning up tmp dir during migrate
This commit is contained in:
parent
9a22add92d
commit
632d2f72ae
@ -459,7 +459,12 @@ function createFetcher(packageManager: PackageManager) {
|
||||
version: resolvedVersion,
|
||||
};
|
||||
}
|
||||
|
||||
try {
|
||||
removeSync(dir);
|
||||
} catch {
|
||||
// It's okay if this fails, the OS will clean it up eventually
|
||||
}
|
||||
}
|
||||
return cache[`${packageName}-${packageVersion}`];
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user