fix version output from file (#625)
This commit is contained in:
1 parent
2349c84f5c
commit
41acaa2e85
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -133,7 +133,7 @@ async function getToolVersion(tool: string, options: string[]) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return stdout;
|
||||
return stdout.trim();
|
||||
} catch (err) {
|
||||
return '';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user