feat(runtime-adapters): Add runtime environment availability check and logger output; normalize runtime version strings

This commit is contained in:
2025-10-17 07:09:25 +00:00
parent b9fd8c7b02
commit 86db2491a3
7 changed files with 64 additions and 6 deletions

View File

@@ -62,7 +62,19 @@ export class TsTest {
);
}
/**
* Check and display available runtimes
*/
private async checkEnvironment() {
const availability = await this.runtimeRegistry.checkAvailability();
this.logger.environmentCheck(availability);
return availability;
}
async run() {
// Check and display environment
await this.checkEnvironment();
// Move previous log files if --logfile option is used
if (this.logger.options.logFile) {
await this.movePreviousLogFiles();