Skip to content

Commit 2d7dda3

Browse files
committed
fix: update error message
1 parent 80d76d2 commit 2d7dda3

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/blas/tools/swap-factory/lib

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/blas/tools/swap-factory/lib/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function factory( base, dtype ) {
7171
throw new TypeError( format( 'invalid argument. First argument must be a function. Value: `%s`.', base ) );
7272
}
7373
if ( !isDataType( dtype ) && dtype !== null ) {
74-
throw new TypeError( format( 'invalid argument. Second argument must a data type. Value: `%s`.', dtype ) );
74+
throw new TypeError( format( 'invalid argument. Second argument must be a data type. Value: `%s`.', dtype ) );
7575
}
7676
isValid = ( dtype ) ? isValidWrapper : isndarrayLike;
7777
return swap;

0 commit comments

Comments
 (0)