mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-19 21:04:45 +00:00
fix version output from file (#625)
This commit is contained in:
parent
2349c84f5c
commit
41acaa2e85
2 changed files with 2 additions and 2 deletions
|
@ -133,7 +133,7 @@ async function getToolVersion(tool: string, options: string[]) {
|
|||
return '';
|
||||
}
|
||||
|
||||
return stdout;
|
||||
return stdout.trim();
|
||||
} catch (err) {
|
||||
return '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue