Skip to content

Commit eaf1247

Browse files
committed
fix error when adapter is initiated with a name string
1 parent b5853c0 commit eaf1247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ export class AdapterClass extends EventEmitter {
675675
throw new Error(`Cannot find ${configFileName}`);
676676
}
677677

678-
if (!this._options || !this._options.config) {
678+
if (!this._options) {
679679
throw new Error('Configuration not set!');
680680
}
681681

0 commit comments

Comments
 (0)