mirror of
https://github.com/strapi/strapi.git
synced 2025-09-18 04:47:27 +00:00
update error text
This commit is contained in:
parent
ac4e688995
commit
63d34a7702
@ -320,7 +320,7 @@ program
|
|||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
if (!answers.fromToken?.length) {
|
if (!answers.fromToken?.length) {
|
||||||
exitWith(1, 'No source token entered, aborting transfer.');
|
exitWith(1, 'No token provided for remote source, aborting transfer.');
|
||||||
}
|
}
|
||||||
thisCommand.opts().fromToken = answers.fromToken;
|
thisCommand.opts().fromToken = answers.fromToken;
|
||||||
}
|
}
|
||||||
@ -343,7 +343,7 @@ program
|
|||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
if (!answers.toToken?.length) {
|
if (!answers.toToken?.length) {
|
||||||
exitWith(1, 'No destination token entered, aborting transfer.');
|
exitWith(1, 'No token provided for remote destination, aborting transfer.');
|
||||||
}
|
}
|
||||||
thisCommand.opts().toToken = answers.toToken;
|
thisCommand.opts().toToken = answers.toToken;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user