@oclif/test v4 runCommand
segFaults on linux node < 18.20.0 and < 20.8.0
#556
Labels
waiting for interest
Waiting to see if there is strong community interest
Describe the bug
Updated our internal cli to use
@oclif/[email protected]
and the newrunCommand
segFaults on linux node < 18.20.0 and <20.8.0. I've replicated this on linux x86 and linux arm. This does not happen on macOS for any versions of 18.x or 20.x that I spot tested.To Reproduce
Steps to reproduce the behavior:
runCommand
method:await expect(runCommand<{ name: string }>(['jira:watch', '-p', 'plat'])).resolves.not.toThrow();
and it segfaults when executed using any of the above node versions.If I switch the test and execute the command directly, the test passes:
await expect(JiraWatchIssues.run(['-p', 'plat'])).resolves.not.toThrow();
This is not command specific, it segFaults if I execute the default oclif
help
command:await expect(runCommand<{ name: string }>(['help'])).resolves.not.toThrow();
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: