mirror of
https://github.com/actions/setup-python.git
synced 2025-08-26 18:54:19 +00:00
appease the linter
This commit is contained in:
parent
bce43cfdd1
commit
c38a07e1b8
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…
x
Reference in New Issue
Block a user