Remove .python-version warnings

This commit is contained in:
Steve Lacey 2023-01-31 19:09:44 +08:00
parent 181184007f
commit 5272dc6000
2 changed files with 0 additions and 7 deletions

View file

@ -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;
}