mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-12-05 10:03:44 +01:00
fix: triage files in temp dir
This commit is contained in:
1 parent
5dabe92b3e
commit
acd11a2b42
2 files changed
+16
-18
No files matched your search
@@ -400,8 +400,8 @@ function candidateList(file, issueNumber) {
|
||||
function main() {
|
||||
// The job's private RUNNER_TEMP folder; the shared /tmp is open to every
|
||||
// process on the runner.
|
||||
const dir = process.env.TRIAGE_DIR;
|
||||
if (!dir) throw new Error("TRIAGE_DIR is not set");
|
||||
if (!process.env.RUNNER_TEMP) throw new Error("RUNNER_TEMP is not set");
|
||||
const dir = path.join(process.env.RUNNER_TEMP, "triage");
|
||||
const file = (name) => path.join(dir, name);
|
||||
const issueNumber = Number(process.env.ISSUE_NUMBER || 0);
|
||||
const command = process.argv[2];
|
||||
|
||||
Reference in new issue
Block a user