"arg" don't seem to be able to run nested within functions 🤔 #1374
// Works
await arg('', ['a', 'b', 'c'])
// Not Works ❌
let func = async () => await arg('', ['a', 'b', 'c'])
func() |
Answered by
johnlindquist
Nov 7, 2023
Replies: 2 comments
|
You need to "await func()". Without await, the script will make it to the "end" of the file and trigger the app the clean it up |
0 replies
Answer selected by
alkene5
|
This should be fixed by #7666. The issue was that PR #7611 (which fixed the year boundary semver issue) unconditionally sets This comment was AI-generated using Claude Code. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to "await func()".
Without await, the script will make it to the "end" of the file and trigger the app the clean it up