We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nodejs
Learn more about funding links in repositories.
Report abuse
1 parent 8bcfcc0 commit b34eaf3Copy full SHA for b34eaf3
lib/path.js
@@ -164,7 +164,7 @@ const win32 = {
164
let path;
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 (let i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) {
1096
const path = i >= 0 ? args[i] : posixCwd();
1097
-
1098
1099
1100
1101
0 commit comments