mirror of
https://github.com/actions/setup-python.git
synced 2026-01-22 06:28:55 +08:00
Remove .python-version warnings
This commit is contained in:
parent
181184007f
commit
5272dc6000
2 changed files with 0 additions and 7 deletions
|
|
@ -47,9 +47,6 @@ function resolveVersionInput() {
|
|||
return [version];
|
||||
}
|
||||
|
||||
logWarning(
|
||||
"Neither 'python-version' nor 'python-version-file' inputs were supplied. Attempting to find '.python-version' file."
|
||||
);
|
||||
versionFile = '.python-version';
|
||||
if (fs.existsSync(versionFile)) {
|
||||
const version = fs.readFileSync(versionFile, 'utf8');
|
||||
|
|
@ -57,8 +54,6 @@ function resolveVersionInput() {
|
|||
return [version];
|
||||
}
|
||||
|
||||
logWarning(`${versionFile} doesn't exist.`);
|
||||
|
||||
return versions;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue