mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-17 01:13:32 +01:00
extension linter: make sure we don't fail on array access
This commit is contained in:
@@ -212,7 +212,7 @@ export class ExtensionLinter {
|
||||
if (node) {
|
||||
switch (node.type) {
|
||||
case 'property':
|
||||
if (node.children) {
|
||||
if (node.children && node.children.length === 2) {
|
||||
const key = node.children[0];
|
||||
const value = node.children[1];
|
||||
switch (value.type) {
|
||||
|
||||
Reference in New Issue
Block a user