1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-12-22 20:32:31 +00:00
This commit is contained in:
IvanZosimov 2022-06-30 13:44:10 +02:00
parent afd3e72a25
commit 6733fc44ec
2 changed files with 4 additions and 4 deletions

4
dist/setup/index.js vendored
View file

@ -64483,8 +64483,8 @@ function resolveVersionInput() {
core.info(`Resolved ${versionFile} as ${version}`);
}
else {
version = fs_1.default.readFileSync('.python-version', 'utf8');
core.info(`Resolved ${'.python-version'} as ${version}`);
version = fs_1.default.readFileSync(defaultVersionFile, 'utf8');
core.info(`Resolved ${defaultVersionFile} as ${version}`);
}
return version;
}

View file

@ -51,8 +51,8 @@ function resolveVersionInput(): string {
version = fs.readFileSync(versionFile, 'utf8');
core.info(`Resolved ${versionFile} as ${version}`);
} else {
version = fs.readFileSync('.python-version', 'utf8');
core.info(`Resolved ${'.python-version'} as ${version}`);
version = fs.readFileSync(defaultVersionFile, 'utf8');
core.info(`Resolved ${defaultVersionFile} as ${version}`);
}
return version;