pal-explorer-cli 0.4.11 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/commands/sync.js
CHANGED
|
@@ -114,7 +114,7 @@ async function biSync(dirPath, palName, opts) {
|
|
|
114
114
|
try {
|
|
115
115
|
absolutePath = validateDir(dirPath);
|
|
116
116
|
pal = findPal(palName);
|
|
117
|
-
identity = getIdentity();
|
|
117
|
+
identity = await getIdentity();
|
|
118
118
|
keyPair = getKeyPair();
|
|
119
119
|
} catch (err) {
|
|
120
120
|
console.log(chalk.red(err.message));
|
|
@@ -201,7 +201,7 @@ async function pushSync(dirPath, palName, opts) {
|
|
|
201
201
|
try {
|
|
202
202
|
absolutePath = validateDir(dirPath);
|
|
203
203
|
pal = findPal(palName);
|
|
204
|
-
identity = getIdentity();
|
|
204
|
+
identity = await getIdentity();
|
|
205
205
|
keyPair = getKeyPair();
|
|
206
206
|
} catch (err) {
|
|
207
207
|
console.log(chalk.red(err.message));
|
|
@@ -305,7 +305,7 @@ async function pullSync(dirPath, palName, opts) {
|
|
|
305
305
|
try {
|
|
306
306
|
absolutePath = validateDir(dirPath);
|
|
307
307
|
pal = findPal(palName);
|
|
308
|
-
identity = getIdentity();
|
|
308
|
+
identity = await getIdentity();
|
|
309
309
|
keyPair = getKeyPair();
|
|
310
310
|
} catch (err) {
|
|
311
311
|
console.log(chalk.red(err.message));
|