Skip to content

Commit 1022f67

Browse files
committed
Typescript linting issue
1 parent 07e17c4 commit 1022f67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup-binary.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as core from "@actions/core";
22
import * as hc from "@hashicorp/js-releases";
33
import * as io from "@actions/io";
44
import * as cache from "@actions/tool-cache";
5-
import * as sys from "./system";
5+
import {getPlatform, getArch} from "./system";
66
import * as semver from "semver";
77
import cp from "child_process";
88
import path from "path";
@@ -25,8 +25,8 @@ async function fetchBinary(
2525
version: string,
2626
userAgent: string
2727
): Promise<string> {
28-
const osPlatform = sys.getPlatform();
29-
const osArch = sys.getArch();
28+
const osPlatform = getPlatform();
29+
const osArch = getArch();
3030
const tmpDir = getTempDir();
3131

3232
let binaryPath: string;

0 commit comments

Comments
 (0)