Skip to content

Commit f4b90aa

Browse files
committed
Auto-generated commit
1 parent 16c0a91 commit f4b90aa

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/.keepalive

-1
This file was deleted.

lib/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,15 @@
4949

5050
var join = require( 'path' ).join;
5151
var tryRequire = require( '@stdlib/utils-try-require' );
52+
var isError = require( '@stdlib/assert-is-error' );
5253
var main = require( './main.js' );
5354

5455

5556
// MAIN //
5657

5758
var dvarianceyc;
5859
var tmp = tryRequire( join( __dirname, './native.js' ) );
59-
if ( tmp instanceof Error ) {
60+
if ( isError( tmp ) ) {
6061
dvarianceyc = main;
6162
} else {
6263
dvarianceyc = tmp;

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"url": "https://github.com/stdlib-js/stdlib/issues"
4242
},
4343
"dependencies": {
44+
"@stdlib/assert-is-error": "^0.0.x",
4445
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.0.x",
4546
"@stdlib/utils-library-manifest": "^0.0.x",
4647
"@stdlib/utils-try-require": "^0.0.x"

0 commit comments

Comments
 (0)