Closed paulomorgado closed 2 years ago
Hi, sorry didn't see all the issues. GitHub didn't add me to the watch list automatically. PR would be awesome. What was the cause?
I'm not sure why this task was a bash script creating a js script and using node to run it.
I just converted to pwsh and have no errors now.
But I don't know if it does everything it was supposed to do.
Got the same error now using the latest:
D:\a\xarf-report-generator\xarf-report-generator\convert.js:12
run.tool.driver.rules = run.tool.driver.rules.filter((e => e.id.startsWith("SCS")));
^
TypeError: Cannot read properties of undefined (reading 'filter')
at Object.<anonymous> (D:\a\xarf-report-generator\xarf-report-generator\convert.js:12:51)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
Error: Process completed with exit code 1.
Odd, so looks like run.tool.driver.rules
is undefined. Do you have a link to the failed workflow run?
Sure do: https://github.com/IT-Hock/xarf-report-generator/runs/5993051164?check_suite_focus=true
EDIT: btw I have since tried alot of things and the workflow file has changed multiple times (still didn't go through though. I have disabled the action for now and deleted all failed workflows. If needed I can create one that is up2date)
I'm getting this error: