icoa-cli 2.16.4 → 2.16.5
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/dist/commands/exam.js +2 -8
- package/package.json +1 -1
package/dist/commands/exam.js
CHANGED
|
@@ -871,7 +871,7 @@ export function registerExamCommand(program) {
|
|
|
871
871
|
const { getConfig: gc } = await import('../lib/config.js');
|
|
872
872
|
const currentLang = gc().language || 'en';
|
|
873
873
|
if (currentLang === 'en') {
|
|
874
|
-
console.log(chalk.gray(' Questions in English. To switch language:'));
|
|
874
|
+
console.log(chalk.gray(' Questions in English. To switch language first:'));
|
|
875
875
|
console.log(chalk.gray(' lang es (Español) · lang zh (中文) · lang ko (한국어) · lang ja (日本語)'));
|
|
876
876
|
console.log(chalk.gray(' lang fr · lang ar · lang pt · lang to see all 15'));
|
|
877
877
|
}
|
|
@@ -879,13 +879,7 @@ export function registerExamCommand(program) {
|
|
|
879
879
|
console.log(chalk.green(` Language: ${currentLang}`));
|
|
880
880
|
}
|
|
881
881
|
console.log();
|
|
882
|
-
|
|
883
|
-
message: chalk.white('Start demo exam?'),
|
|
884
|
-
default: true,
|
|
885
|
-
theme: { prefix: '', style: { message: (t) => t, defaultAnswer: (t) => chalk.green(t) } },
|
|
886
|
-
});
|
|
887
|
-
if (!proceed)
|
|
888
|
-
return;
|
|
882
|
+
console.log(chalk.white(' Starting exam...'));
|
|
889
883
|
const session = { ...DEMO_SESSION, startedAt: new Date().toISOString() };
|
|
890
884
|
console.log();
|
|
891
885
|
drawProgress(0, 'Preparing questions...');
|