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.
1 parent 7e35193 commit d799b6cCopy full SHA for d799b6c
extensions/extension-editing/src/extensionLinter.ts
@@ -148,7 +148,7 @@ export class ExtensionLinter {
148
}
149
150
const activationEventsNode = findNodeAtLocation(tree, ['activationEvents']);
151
- if (Array.isArray(activationEventsNode) && activationEventsNode.children) {
+ if (activationEventsNode?.type === 'array' && activationEventsNode.children) {
152
for (const activationEventNode of activationEventsNode.children) {
153
const activationEvent = getNodeValue(activationEventNode);
154
for (const implicitActivationEventPrefix of reservedImplicitActivationEventPrefixes) {
0 commit comments