Skip to content

Commit 0f22d58

Browse files
d2lamminzcmu
authored andcommitted
fix: remove check for instanceof (#5)
1 parent 0a9f513 commit 0f22d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class ScmRouter extends Scm {
125125
if (config && typeof config.scmContext === 'string') {
126126
const scm = this.scms[config.scmContext];
127127

128-
if (scm && scm instanceof Scm) {
128+
if (scm) {
129129
return resolve(scm);
130130
}
131131
}

0 commit comments

Comments
 (0)