appease the linter

This commit is contained in:
Andrew DiLosa 2022-05-16 19:56:14 -07:00
parent bce43cfdd1
commit c38a07e1b8
2 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ function resolveVersionInput(): string {
core.warning(
'Both python-version and python-version-file inputs are specified, only python-version will be used'
);
}
}
if (version) {
return version;
@ -38,7 +38,7 @@ function resolveVersionInput(): string {
const versionFilePath = path.join(
process.env.GITHUB_WORKSPACE!,
versionFile || ".python-version"
versionFile || '.python-version'
);
if (!fs.existsSync(versionFilePath)) {
throw new Error(