Skip to content

Commit 5c644c0

Browse files
author
Jing T
authored
misc download-artifact fixes (#773)
1 parent 249fa1c commit 5c644c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"main": "dist/src-electron/ui/main-ui.js",
2121
"bin": "dist/src-electron/main-process/main.js",
2222
"scripts": {
23-
"download-artifact": "ts-node src-script/download-artifact.ts",
23+
"download-artifact": "npx ts-node src-script/download-artifact.ts",
2424
"pkg:download-artifact": "npx pkg src-script/download-artifact.js -t node16-linux-x64,node16-linux-arm64,node16-macos-x64,node16-win-x64 --output dist/download-artifact --compress GZip",
2525
"compile:download-artifact": "tsc src-script/download-artifact.ts --esModuleInterop",
2626
"test:download-artifact": "npx jest --collectCoverage=false ./test/download-artifact.test.js --testPathIgnorePatterns=[]",

src-script/download-artifact.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ async function main() {
551551
!nexusCachedBranches.includes(dlOptions.branch)
552552
) {
553553
console.log(
554-
`Branch ${dlOptions.branch} is not cached on Nexus. Defaulting to master branch on Github instead.`
554+
`Branch ${dlOptions.branch} is not cached on Nexus. Defaulting to Github instead.`
555555
)
556556
dlOptions.src = 'github'
557557
} else if (!nexusCachedBranches.includes(dlOptions.branch)) {

0 commit comments

Comments
 (0)