mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Don't try to free non-temp dirs
This commit is contained in:
@@ -468,7 +468,11 @@ _.extend(exports.Tropohouse.prototype, {
|
||||
|
||||
// Delete temp directories now (asynchronously).
|
||||
_.each(buildTempDirs, function (buildTempDir) {
|
||||
files.freeTempDir(buildTempDir);
|
||||
// On Windows, the first item added to buildTempDir is actually
|
||||
// not a temporary directory, it's the real package path
|
||||
if (buildTempDir !== packagePath) {
|
||||
files.freeTempDir(buildTempDir);
|
||||
}
|
||||
});
|
||||
|
||||
// Clean up old version.
|
||||
|
||||
Reference in New Issue
Block a user