There was an error while loading. Please reload this page.
1 parent 8bcfcc0 commit b34eaf3Copy full SHA for b34eaf3
1 file changed
lib/path.js
@@ -164,7 +164,7 @@ const win32 = {
164
letpath;
165
if(i>=0){
166
path=args[i];
167
-validateString(path,'path');
+validateString(path,`paths[${i}]`);
168
169
// Skip empty entries
170
if(path.length===0){
@@ -1094,8 +1094,7 @@ const posix = {
1094
1095
for(leti=args.length-1;i>=-1&&!resolvedAbsolute;i--){
1096
constpath=i>=0 ? args[i] : posixCwd();
1097
-
1098
1099
1100
1101
0 commit comments