debug time

This commit is contained in:
Jozef Steinhübl 2025-07-10 20:37:43 +02:00
parent da7144a194
commit 82ac8fc9cb
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F
3 changed files with 415 additions and 110 deletions

View file

@ -217,6 +217,9 @@ async function getRevision(exe: string): Promise<string | undefined> {
const revision = await getExecOutput(exe, ["--revision"], {
ignoreReturnCode: true,
});
console.log(revision.stdout);
console.log(revision.stderr);
console.log(revision.exitCode);
if (revision.exitCode === 0 && /^\d+\.\d+\.\d+/.test(revision.stdout)) {
return revision.stdout.trim();
}