File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 9
9
* When printing suggestions for variables, use underscores in variable names
10
10
when the original usage used underscores.
11
11
12
+ ### JavaScript API
13
+
14
+ * Properly resolve ` pkg: ` imports with the Node.js package importer when
15
+ arguments are passed to the JavaScript process.
16
+
12
17
## 1.71.1
13
18
14
19
### Command-Line Interface
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ Syntax parseSyntax(String? syntax) => switch (syntax) {
239
239
String ? get entrypointFilename {
240
240
if (_requireMain? .filename case var filename? ) {
241
241
return filename;
242
- } else if (process.argv case [_, String path]) {
242
+ } else if (process.argv case [_, String path, ... ]) {
243
243
return module.createRequire (path).resolve (path);
244
244
} else {
245
245
return null ;
You can’t perform that action at this time.
0 commit comments