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.
validateString
1 parent c0b4c82 commit 329be5cCopy full SHA for 329be5c
lib/path.js
@@ -776,7 +776,7 @@ const win32 = {
776
*/
777
basename(path, suffix) {
778
if (suffix !== undefined)
779
- validateString(suffix, 'ext');
+ validateString(suffix, 'suffix');
780
validateString(path, 'path');
781
let start = 0;
782
let end = -1;
@@ -1336,7 +1336,7 @@ const posix = {
1336
1337
1338
1339
1340
1341
1342
0 commit comments