File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 21
21
// MODULES //
22
22
23
23
var isCollection = require ( '@stdlib/assert-is-collection' ) ;
24
- var format = require ( '@stdlib/string-format ' ) ;
24
+ var format = require ( '@stdlib/error-tools-fmtprodmsg ' ) ;
25
25
26
26
27
27
// MAIN //
@@ -43,7 +43,7 @@ function any( collection ) {
43
43
var len ;
44
44
var i ;
45
45
if ( ! isCollection ( collection ) ) {
46
- throw new TypeError ( format ( 'invalid argument. Must provide a collection. Value: `%s`. ' , collection ) ) ;
46
+ throw new TypeError ( format ( '1QjAg ' , collection ) ) ;
47
47
}
48
48
len = collection . length ;
49
49
for ( i = 0 ; i < len ; i ++ ) {
Original file line number Diff line number Diff line change 38
38
},
39
39
"dependencies" : {
40
40
"@stdlib/assert-is-collection" : " ^0.2.2" ,
41
- "@stdlib/string-format " : " ^0.2.2" ,
41
+ "@stdlib/error-tools-fmtprodmsg " : " ^0.2.2" ,
42
42
"@stdlib/types" : " ^0.4.3" ,
43
43
"@stdlib/error-tools-fmtprodmsg" : " ^0.2.2"
44
44
},
You can’t perform that action at this time.
0 commit comments