@based/cli
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -63,3 +63,5 @@ "use strict"; | ||
await Promise.race([ | ||
client.updateSchema(payload), | ||
Array.isArray(payload) | ||
? Promise.all(payload.map((schemaConfig) => client.updateSchema(schemaConfig))) | ||
: client.updateSchema(payload), | ||
(0, utils_1.wait)(8000).then(() => { | ||
@@ -66,0 +68,0 @@ throw new Error('client.updateSchema() timed out. Maybe wrong db name?'); |
{ | ||
"name": "@based/cli", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
293996
4217