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