mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
appease the linter
This commit is contained in:
parent
bce43cfdd1
commit
c38a07e1b8
2 changed files with 3 additions and 3 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -6095,7 +6095,7 @@ function resolveVersionInput() {
|
|||
if (version) {
|
||||
return version;
|
||||
}
|
||||
const versionFilePath = path.join(process.env.GITHUB_WORKSPACE, versionFile || ".python-version");
|
||||
const versionFilePath = path.join(process.env.GITHUB_WORKSPACE, versionFile || '.python-version');
|
||||
if (!fs_1.default.existsSync(versionFilePath)) {
|
||||
throw new Error(`The specified python version file at: ${versionFilePath} does not exist`);
|
||||
}
|
||||
|
|
|
@ -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
Reference in a new issue