Permalink
Browse files

temporary directory remove fix

  • Loading branch information...
Grigore147 committed Oct 27, 2012
1 parent 3404e56 commit be2e71cffeeb1f77633272cc0dc54eec05982ffa
Showing with 8 additions and 5 deletions.
  1. +8 −5 bin/katana
View
@@ -347,17 +347,20 @@ App.command('modules-install <name> [url]')
if (error) { console.log(error); }
if (!--pending) {
- remove(root +'temp/modules/'+ name, function(error) {
- if (error) { console.log('Warning:'.magento, 'could not remove temporary directory.'); }
-
- callback();
- });
+ callback();
}
});
});
});
}
},
+ function(callback) {
+ remove(root +'temp/modules/'+ name, function(error) {
+ if (error) { console.log('Warning:'.magento, 'could not remove temporary directory.'); }
+
+ callback();
+ });
+ },
function(callback) {
if (is_file) { return callback(); }

0 comments on commit be2e71c

Please sign in to comment.