8000 Transform error messages · stdlib-js/string-format@6ada682 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6ada682

Browse files
committed
Transform error messages
1 parent 82e9329 commit 6ada682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function format( str ) {
4949
var i;
5050

5151
if ( !isString( str ) ) {
52-
throw new TypeError( format( 'invalid argument. First argument must be a string. Value: `%s`.', str ) );
52+
throw new TypeError( format( '1Of3F', str ) );
5353
}
5454
args = [ tokenize( str ) ];
5555
for ( i = 1; i < arguments.length; i++ ) {

0 commit comments

Comments
 (0)
0