Skip to content

Commit 2d06aaf

Browse files
committed
Fixup
1 parent 1c9306a commit 2d06aaf

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

src/find-graalpy.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ import * as semver from 'semver';
66
import * as core from '@actions/core';
77
import * as tc from '@actions/tool-cache';
88

9-
import {
10-
addPkgConfigPathToEnv
11-
} from './utils';
9+
import {addPkgConfigPathToEnv} from './utils';
1210

1311
export async function findGraalPyVersion(
1412
versionSpec: string,

src/find-python.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ import * as core from '@actions/core';
1010
import * as tc from '@actions/tool-cache';
1111
import * 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.

src/utils.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,14 +423,13 @@ export function getDownloadFileName(downloadUrl: string): string | undefined {
423423
: undefined;
424424
}
425425

426-
427426
export 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}`);

0 commit comments

Comments
 (0)