mirror of
https://github.com/actions/setup-python.git
synced 2025-07-05 00:53:46 +00:00
appease the linter
This commit is contained in:
parent
bce43cfdd1
commit
c38a07e1b8
2 changed files with 3 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue