fix version output from file (#625)
parent
2349c84f5c
commit
41acaa2e85
|
@ -73786,7 +73786,7 @@ function getToolVersion(tool, options) {
|
|||
core.warning(`[warning]${stderr}`);
|
||||
return '';
|
||||
}
|
||||
return stdout;
|
||||
return stdout.trim();
|
||||
}
|
||||
catch (err) {
|
||||
return '';
|
||||
|
|
|
@ -133,7 +133,7 @@ async function getToolVersion(tool: string, options: string[]) {
|
|||
return '';
|
||||
}
|
||||
|
||||
return stdout;
|
||||
return stdout.trim();
|
||||
} catch (err) {
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue