mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-08 20:38:19 +02:00
parent
3faddefb4c
commit
869e769ec8
4 changed files with 6 additions and 6 deletions
|
@ -73,7 +73,7 @@ export function readExactPyPyVersionFile(installDir: string) {
|
|||
let pypyVersion = '';
|
||||
let fileVersion = path.join(installDir, PYPY_VERSION_FILE);
|
||||
if (fs.existsSync(fileVersion)) {
|
||||
pypyVersion = fs.readFileSync(fileVersion).toString();
|
||||
pypyVersion = fs.readFileSync(fileVersion).toString().trim();
|
||||
}
|
||||
|
||||
return pypyVersion;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue