Add assert

This commit is contained in:
Girish Ramakrishnan
2015-07-16 22:59:09 -07:00
parent f7d1dcfe3e
commit b7caeb844a
+1
View File
@@ -403,6 +403,7 @@ function migrate(size, region, callback) {
}
function update(boxUpdateInfo, callback) {
assert.strictEqual(typeof boxUpdateInfo, 'object');
assert.strictEqual(typeof callback, 'function');
if (!boxUpdateInfo) return callback(null);