"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() |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
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