Skip to content

Commit 5db1a58

Browse files
authored
fix: update error messages
Signed-off-by: Athan <[email protected]>
1 parent f153f60 commit 5db1a58

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/ext/find-last-index/lib

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/ext/find-last-index/lib/assign.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ function assign( x, out ) {
9999

100100
nargs = arguments.length;
101101
if ( !isndarrayLike( x ) ) {
102-
throw new TypeError( format( 'invalid argument. The first argument must be an ndarray. Value: `%s`.', x ) );
102+
throw new TypeError( format( 'invalid argument. First argument must be an ndarray. Value: `%s`.', x ) );
103103
}
104104
if ( !isndarrayLike( out ) ) {
105-
throw new TypeError( format( 'invalid argument. The second argument must be an ndarray. Value: `%s`.', out ) );
105+
throw new TypeError( format( 'invalid argument. Second argument must be an ndarray. Value: `%s`.', out ) );
106106
}
107107
// Initialize an options object:
108108
opts = {

0 commit comments

Comments
 (0)