File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ const {
53
53
ERR_PACKAGE_PATH_NOT_EXPORTED ,
54
54
ERR_UNSUPPORTED_DIR_IMPORT ,
55
55
ERR_NETWORK_IMPORT_DISALLOWED ,
56
+ ERR_INVALID_ARG_TYPE ,
56
57
} = require ( 'internal/errors' ) . codes ;
57
58
58
59
const { Module : CJSModule } = require ( 'internal/modules/cjs/loader' ) ;
@@ -1249,6 +1250,7 @@ module.exports = {
1249
1250
packageExportsResolve,
1250
1251
packageImportsResolve,
1251
1252
throwIfInvalidParentURL,
1253
+ legacyMainResolve,
1252
1254
} ;
1253
1255
1254
1256
// cycle
Original file line number Diff line number Diff line change @@ -2633,8 +2633,9 @@ static bool FileURLToPath(
2633
2633
for (size_t i = 0 ; i < pathname_size; i++) {
2634
2634
if (pathname[i] == ' /' ) {
2635
2635
pathname_escaped_slash += ' \\ ' ;
2636
- } else
2636
+ } else {
2637
2637
pathname_escaped_slash += pathname[i];
2638
+ }
2638
2639
2639
2640
if (pathname[i] != ' %' ) continue ;
2640
2641
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ constexpr size_t kFsStatFsBufferLength =
56
56
57
57
class BindingData : public SnapshotableObject {
58
58
public:
59
-
60
59
enum class FilePathIsFileReturnType {
61
60
kIsFile = 0 ,
62
61
kIsNotFile ,
You can’t perform that action at this time.
0 commit comments