Files
Jake RunzerandGitHub a878409688 fix: consider exclude patterns when determining LLB merge eligibility (#380)
* fix: consider exclude patterns when determining LLB merge eligibility

* test mise config example

* update snapshots

* test: allow stderr in mise-config integration test

npm outputs deprecation warning to stderr
2025-11-28 19:03:14 -05:00

16 lines
463 B
TypeScript

import { execSync } from "child_process";
function printVersion(cmd: string, label: string) {
try {
const version = execSync(cmd, { encoding: "utf8" }).trim();
console.log(`${label} version: ${version}`);
} catch (err) {
throw new Error(`Failed to get ${label} version: ${err}`);
}
}
printVersion("node --version", "Node.js");
printVersion("bun --version", "Bun");
printVersion("python --version", "Python");
printVersion("go version", "Go");