mirror of
https://github.com/GoTestTools/gotestfmt-action.git
synced 2026-02-08 00:37:27 +00:00
Fix escape character
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
This commit is contained in:
parent
a7173064d8
commit
ed405a8b57
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -13,7 +13,7 @@ async function downloadRelease(octokit, os, org, repo, release, token) {
|
|||
const postfix = `_${os}_amd64.${os === "windows" ? "zip" : "tar.gz"}`;
|
||||
const pathsep = os === "windows" ? "\\" : "/";
|
||||
const tempdir = os === "windows" ? process.env.TEMP : "/tmp";
|
||||
const libpath = os === "windows" ? process.env.USERPROFILE + "\bin" : "/usr/local/bin";
|
||||
const libpath = os === "windows" ? process.env.USERPROFILE + "\\bin" : "/usr/local/bin";
|
||||
const extract = os === "windows" ? "tar -xvf " : "tar -xvzf";
|
||||
const archive = `${tempdir}${pathsep}gotestfmt${postfix}`;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue