Fixed image rebuild bug and bumped version.

This commit is contained in:
Sean Li 2014-09-14 14:33:53 -07:00
parent 8e91ce11fc
commit b82ffd383e
2 changed files with 6 additions and 6 deletions

View File

@ -125,13 +125,13 @@ ImageUtil.rebuild = function (imageId) {
}); });
ImageUtil.rebuildHelper(image, function (err) { ImageUtil.rebuildHelper(image, function (err) {
if (err) { console.error(err); } if (err) { console.error(err); }
});
_.each(apps, function (app) { _.each(apps, function (app) {
app = Apps.findOne(app._id); app = Apps.findOne(app._id);
AppUtil.run(app, function (err) { AppUtil.run(app, function (err) {
if (err) { console.error(err); } if (err) { console.error(err); }
}); });
}); });
});
} else { } else {
ImageUtil.rebuildHelper(image, function (err) { ImageUtil.rebuildHelper(image, function (err) {
if (err) { console.error(err); } if (err) { console.error(err); }

View File

@ -1,7 +1,7 @@
{ {
"name": "Kitematic", "name": "Kitematic",
"main": "index.js", "main": "index.js",
"version": "0.2.2", "version": "0.2.3",
"dependencies": { "dependencies": {
"async": "^0.9.0", "async": "^0.9.0",
"chokidar": "git+https://github.com/usekite/chokidar.git", "chokidar": "git+https://github.com/usekite/chokidar.git",