Skip to content

Commit 7f42e7c

Browse files
authored
refactor: update error message
Signed-off-by: Athan <kgryte@gmail.com>
1 parent 77614be commit 7f42e7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/node_modules/@stdlib/ndarray/push/lib

lib/node_modules/@stdlib/ndarray/push/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function push( x ) {
6262
}
6363
nargs = arguments.length;
6464
if ( nargs < 2 ) {
65-
throw new Error( format( 'invalid argument. The function must be provided at least two arguments. Value: `%s`.', nargs ) );
65+
throw new Error( 'invalid operation. Must provide at least two arguments.' );
6666
}
6767
dtype = getDType( x );
6868
args = [ x ];

0 commit comments

Comments
 (0)