mirror of
https://github.com/actions/setup-python.git
synced 2025-07-18 03:38:21 +02:00
Update utils.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
b62f6a8ae7
commit
8681d8c52c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue