accidentally merge uncommitted work with staging, resolve merge conflicts

This commit is contained in:
ansuz
2020-02-10 08:05:43 -05:00
9 changed files with 54 additions and 32 deletions

View File

@@ -234,6 +234,18 @@ var createUser = function (config, cb) {
return void cb(err);
}
}));
}).nThen(function (w) {
// some basic sanity checks...
user.rpc.getServerHash(w(function (err, hash) {
if (err) {
w.abort();
return void cb(err);
}
if (hash !== EMPTY_ARRAY_HASH) {
console.error("EXPECTED EMPTY ARRAY HASH");
process.exit(1);
}
}));
}).nThen(function () {
user.cleanup = function (cb) {