We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f3876c commit 7222f9dCopy full SHA for 7222f9d
lib/path.js
@@ -168,7 +168,7 @@ const win32 = {
168
let path;
169
if (i >= 0) {
170
path = args[i];
171
- validateString(path, 'path');
+ validateString(path, `paths[${i}]`);
172
173
// Skip empty entries
174
if (path.length === 0) {
@@ -1098,8 +1098,7 @@ const posix = {
1098
1099
for (let i = args.length - 1; i >= -1 && !resolvedAbsolute; i--) {
1100
const path = i >= 0 ? args[i] : posixCwd();
1101
-
1102
1103
1104
1105
0 commit comments