Skip to content

Commit a8c061c

Browse files
committed
i meant or, not and
1 parent ff19655 commit a8c061c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/hub.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@
8787
}
8888

8989
// Check whether request.method is a string
90-
if (!request && typeof request.method !== 'string') {
90+
if (!request || typeof request.method !== 'string') {
9191
return;
9292
}
93-
93+
9494
method = request.method.split('cross-storage:')[1];
9595

9696
if (!method) {

0 commit comments

Comments
 (0)