1
0
Fork 0

Allow --js-runtimes to accept path to binary or directory (#14964)

Fix 6224a38988

Authored by: bashonly
This commit is contained in:
bashonly 2025-11-09 09:14:22 -06:00 committed by GitHub
commit 4b4223b436
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 28 additions and 16 deletions

View file

@ -466,7 +466,8 @@ def create_parser():
callback_kwargs={'delim': None},
default=['deno'],
help=(
'Additional JavaScript runtime to enable, with an optional path to the runtime location. '
'Additional JavaScript runtime to enable, with an optional location for the runtime '
'(either the path to the binary or its containing directory). '
'This option can be used multiple times to enable multiple runtimes. '
'Supported runtimes are (in order of priority, from highest to lowest): deno, node, quickjs, bun. '
'Only "deno" is enabled by default. The highest priority runtime that is both enabled and '