mirror of
https://github.com/actions/setup-python.git
synced 2025-12-10 22:55:20 +00:00
Update utils.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
b62f6a8ae7
commit
8681d8c52c
@ -330,7 +330,7 @@ export function getVersionInputFromToolVersions(versionFile: string): string[] {
|
|||||||
* Python version extracted from the Pipfile file.
|
* Python version extracted from the Pipfile file.
|
||||||
*/
|
*/
|
||||||
export function getVersionInputFromPipfileFile(versionFile: string): string[] {
|
export function getVersionInputFromPipfileFile(versionFile: string): string[] {
|
||||||
core.debug(`Trying to resolve version form ${versionFile}`);
|
core.debug(`Trying to resolve version from ${versionFile}`);
|
||||||
|
|
||||||
let pipfileFile = fs.readFileSync(versionFile, 'utf8');
|
let pipfileFile = fs.readFileSync(versionFile, 'utf8');
|
||||||
// Normalize the line endings in the pipfileFile
|
// Normalize the line endings in the pipfileFile
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user