Skip to content

Commit 74ea858

Browse files
committed
more fixes due to ts port
1 parent f1adb29 commit 74ea858

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/adapter/src/lib/adapter/adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9685,7 +9685,7 @@ export class AdapterClass extends EventEmitter {
96859685
options = null;
96869686
}
96879687

9688-
Utils.assertCallback(callback, 'callback');
9688+
Utils.assertOptionalCallback(callback, 'callback');
96899689

96909690
if (pattern instanceof RegExp) {
96919691
return tools.maybeCallbackWithError(

packages/controller/controller.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
* MIT License
66
*
77
*/
8-
require('./main').init();
8+
9+
require('./build/main').init();

0 commit comments

Comments
 (0)