File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,7 @@ import * as semver from 'semver';
66import * as core from '@actions/core' ;
77import * as tc from '@actions/tool-cache' ;
88
9- import {
10- addPkgConfigPathToEnv
11- } from './utils' ;
9+ import { addPkgConfigPathToEnv } from './utils' ;
1210
1311export async function findGraalPyVersion (
1412 versionSpec : string ,
Original file line number Diff line number Diff line change @@ -10,9 +10,7 @@ import * as core from '@actions/core';
1010import * as tc from '@actions/tool-cache' ;
1111import * as exec from '@actions/exec' ;
1212
13- import {
14- addPkgConfigPathToEnv
15- } from './utils' ;
13+ import { addPkgConfigPathToEnv } from './utils' ;
1614
1715// Python has "scripts" or "bin" directories where command-line tools that come with packages are installed.
1816// This is where pip is, along with anything that pip installs.
Original file line number Diff line number Diff line change @@ -423,14 +423,13 @@ export function getDownloadFileName(downloadUrl: string): string | undefined {
423423 : undefined ;
424424}
425425
426-
427426export function addPkgConfigPathToEnv ( path : string ) : undefined {
428- const pkg_config_path = process . env [ " PKG_CONFIG_PATH" ] ;
427+ const pkg_config_path = process . env [ ' PKG_CONFIG_PATH' ] ;
429428
430429 if ( pkg_config_path === undefined ) {
431430 core . exportVariable ( 'PKG_CONFIG_PATH' , path ) ;
432431 } else {
433- if ( IS_WINDOWS ) {
432+ if ( IS_WINDOWS ) {
434433 core . exportVariable ( 'PKG_CONFIG_PATH' , `${ path } ;${ pkg_config_path } ` ) ;
435434 } else {
436435 core . exportVariable ( 'PKG_CONFIG_PATH' , `${ path } :${ pkg_config_path } ` ) ;
You can’t perform that action at this time.
0 commit comments