Skip to content

Commit df5989a

Browse files
committed
* fix setup
1 parent 46b579d commit df5989a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/controller/lib/setup.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,6 @@ async function processCommand(command, args, params, callback) {
599599
const cert = new Cert(Object.assign({}, commandOptions, { callback: resolve }));
600600
cert.create();
601601
});
602-
callback && callback();
603602
}
604603

605604
// we update existing things, in first as well as normnal setup

packages/controller/lib/setup/setupSetup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,15 @@ function Setup(options) {
240240
states = _states;
241241
const iopkg = fs.readJSONSync(`${__dirname}/../../io-package.json`);
242242

243-
// in all casses we need to ensure that existing objects are migrated to sets
243+
// in all cases we need to ensure that existing objects are migrated to sets
244244
try {
245245
const noMigrated = await objects.migrateToSets();
246246

247247
if (noMigrated) {
248248
console.log(`Successfully migrated ${noMigrated} objects to redis sets`);
249249
}
250250
} catch (e) {
251-
console.warn(`Could not migrate objects to coresponding sets: ${e.message}`);
251+
console.warn(`Could not migrate objects to corresponding sets: ${e.message}`);
252252
}
253253

254254
// clean up invalid user group assignments (non-existing user in a group)

0 commit comments

Comments
 (0)