We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nil
nixd
1 parent b8c6cc4 commit 2cb1d94Copy full SHA for 2cb1d94
src/client.ts
@@ -117,7 +117,11 @@ export async function activate(context: ExtensionContext): Promise<void> {
117
if (!item?.section) {
118
continue;
119
}
120
- res.push(settings[item.section as keyof typeof settings] ?? null);
+ const sectionSettings = settings[item.section as keyof typeof settings]
121
+ if (!sectionSettings) {
122
+ client.warn(`failed to find "${item.section}" in "nix.serverSettings"`)
123
+ }
124
+ res.push(sectionSettings ?? null);
125
126
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
127
return res;
0 commit comments