versions() fixed bun and deno

This commit is contained in:
Sebastian Hildebrandt
2024-12-31 13:02:53 +01:00
parent f97cd5de1c
commit 67148f076f
4 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -1033,7 +1033,7 @@ function versions(apps, callback) {
exec('bun -v', function (error, stdout) {
if (!error) {
const line = stdout.toString().split('\n')[0].trim();
appsObj.versions.fish = line;
appsObj.versions.bun = line;
}
functionProcessed();
});
@@ -1044,7 +1044,7 @@ function versions(apps, callback) {
const line = stdout.toString().split('\n')[0].trim();
const parts = line.split(' ');
if (parts.length > 1) {
appsObj.versions.fish = parts[1];
appsObj.versions.deno = parts[1];
}
}
functionProcessed();