Skip to content

Commit 2516fdb

Browse files
committed
fix version output
1 parent 6bc15ab commit 2516fdb

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
@@ -73723,7 +73723,7 @@ function getToolVersion(tool, options) {
7372373723
core.warning(`[warning]${stderr}`);
7372473724
return '';
7372573725
}
73726-
return stdout;
73726+
return stdout.trim();
7372773727
}
7372873728
catch (err) {
7372973729
return '';

src/main.ts

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

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

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