mirror of https://github.com/actions/setup-python
Fix typo
This commit is contained in:
parent
afd3e72a25
commit
6733fc44ec
|
@ -64483,8 +64483,8 @@ function resolveVersionInput() {
|
||||||
core.info(`Resolved ${versionFile} as ${version}`);
|
core.info(`Resolved ${versionFile} as ${version}`);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
version = fs_1.default.readFileSync('.python-version', 'utf8');
|
version = fs_1.default.readFileSync(defaultVersionFile, 'utf8');
|
||||||
core.info(`Resolved ${'.python-version'} as ${version}`);
|
core.info(`Resolved ${defaultVersionFile} as ${version}`);
|
||||||
}
|
}
|
||||||
return version;
|
return version;
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,8 +51,8 @@ function resolveVersionInput(): string {
|
||||||
version = fs.readFileSync(versionFile, 'utf8');
|
version = fs.readFileSync(versionFile, 'utf8');
|
||||||
core.info(`Resolved ${versionFile} as ${version}`);
|
core.info(`Resolved ${versionFile} as ${version}`);
|
||||||
} else {
|
} else {
|
||||||
version = fs.readFileSync('.python-version', 'utf8');
|
version = fs.readFileSync(defaultVersionFile, 'utf8');
|
||||||
core.info(`Resolved ${'.python-version'} as ${version}`);
|
core.info(`Resolved ${defaultVersionFile} as ${version}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
return version;
|
return version;
|
||||||
|
|
Loading…
Reference in New Issue