Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 5c8d7a9

Browse files
committed
Ignore missing config when creating client of no configuration service
1 parent f3ea0ac commit 5c8d7a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodecg-io-core/extension/instanceManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export class InstanceManager extends EventEmitter {
207207
): Promise<Result<void>> {
208208
const oldClient = inst.client;
209209

210-
if (inst.config === undefined) {
210+
if (inst.config === undefined && !service.requiresNoConfig) {
211211
// No config has been set, therefore the service isn't ready and we can't create a client.
212212
inst.client = undefined;
213213
} else {

0 commit comments

Comments
 (0)