diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-09-14 16:41:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-14 10:41:47 -0400 |
commit | 7b982829930bfcfbb70d0bb377f90939d122efed (patch) | |
tree | 01c49fa78d8dbadbce770bb4be60899d2f0349eb /cli/tests/testdata/npm/registry/@denotest/bin/1.0.0/cli.mjs | |
parent | 6a9acc81420a5e87e61de48b25af85d961e35730 (diff) |
fix(npm): binary entrypoint for .js or no extension (#15900)
Diffstat (limited to 'cli/tests/testdata/npm/registry/@denotest/bin/1.0.0/cli.mjs')
-rw-r--r-- | cli/tests/testdata/npm/registry/@denotest/bin/1.0.0/cli.mjs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/registry/@denotest/bin/1.0.0/cli.mjs b/cli/tests/testdata/npm/registry/@denotest/bin/1.0.0/cli.mjs new file mode 100644 index 000000000..0ae8e9190 --- /dev/null +++ b/cli/tests/testdata/npm/registry/@denotest/bin/1.0.0/cli.mjs @@ -0,0 +1,5 @@ +import process from "node:process"; + +for (const arg of process.argv.slice(2)) { + console.log(arg); +} |