File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 49
49
50
50
var join = require ( 'path' ) . join ;
51
51
var tryRequire = require ( '@stdlib/utils-try-require' ) ;
52
+ var isError = require ( '@stdlib/assert-is-error' ) ;
52
53
var main = require ( './main.js' ) ;
53
54
54
55
55
56
// MAIN //
56
57
57
58
var dvarianceyc ;
58
59
var tmp = tryRequire ( join ( __dirname , './native.js' ) ) ;
59
- if ( tmp instanceof Error ) {
60
+ if ( isError ( tmp ) ) {
60
61
dvarianceyc = main ;
61
62
} else {
62
63
dvarianceyc = tmp ;
Original file line number Diff line number Diff line change 41
41
"url" : " https://github.com/stdlib-js/stdlib/issues"
42
42
},
43
43
"dependencies" : {
44
+ "@stdlib/assert-is-error" : " ^0.0.x" ,
44
45
"@stdlib/utils-define-nonenumerable-read-only-property" : " ^0.0.x" ,
45
46
"@stdlib/utils-library-manifest" : " ^0.0.x" ,
46
47
"@stdlib/utils-try-require" : " ^0.0.x"
You can’t perform that action at this time.
0 commit comments