We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 503c398 commit 516b608Copy full SHA for 516b608
1 file changed
lib/node_modules/@stdlib/array/to-fancy/lib/error_message.js
@@ -33,7 +33,7 @@ var replace = require( '@stdlib/string/base/replace' );
33
* @returns {string} updated message
34
*/
35
function errMessage( msg ) {
36
- return replace( msg, /^invalid argument/, 'invalid operation' );
+ return replace( msg, /^invalid arguments?/, 'invalid operation' );
37
}
38
39
0 commit comments