Update node.js completion

Multiple `--env-file` options are accpeted since node v20.7
This commit is contained in:
Shohei YOSHIDA 2023-09-19 14:35:20 +09:00
parent bed209ca64
commit b57558b024
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
# Description
# -----------
#
# Completion script for Node.js v20.6.0 (https://nodejs.org)
# Completion script for Node.js v20.7.0 (https://nodejs.org)
#
# ------------------------------------------------------------------------------
# Authors
@ -85,7 +85,7 @@ _arguments -C \
'--enable-fips[enable FIPS crypto at startup]' \
'--enable-network-family-autoselection[enable network address family autosetection algorithm]' \
'--enable-source-maps[source map support]' \
'--env-file=[set environment variables from supplied file]:envfile:_files' \
'*--env-file=[set environment variables from supplied file]:envfile:_files' \
'--es-module-specifier-resolution=[extension resolution algorithm for es modules]:resolution algorithm:(explicit none)' \
'--experimental-import-meta-resolve[experimental ES Module import.meta.resolve() support]' \
'(--loader --experimental-loader)'{--loader,--experimental-loader}'=[Specify the module of a custom ECMAScript Module loader]: :_files' \