Skip to content

Commit 41acaa2

Browse files
authored
fix version output from file (#625)
1 parent 2349c84 commit 41acaa2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/setup/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73786,7 +73786,7 @@ function getToolVersion(tool, options) {
7378673786
core.warning(`[warning]${stderr}`);
7378773787
return '';
7378873788
}
73789-
return stdout;
73789+
return stdout.trim();
7379073790
}
7379173791
catch (err) {
7379273792
return '';

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ async function getToolVersion(tool: string, options: string[]) {
133133
return '';
134134
}
135135

136-
return stdout;
136+
return stdout.trim();
137137
} catch (err) {
138138
return '';
139139
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy