From 4cfc1d6a6c197aa874b4f4ac361a1020a51f5395 Mon Sep 17 00:00:00 2001 From: rajeev Date: Wed, 4 Dec 2024 20:19:45 +0530 Subject: [PATCH] addressing review comments --- Json_parser/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Json_parser/Program.cs b/Json_parser/Program.cs index ed2df0c..74ebf31 100644 --- a/Json_parser/Program.cs +++ b/Json_parser/Program.cs @@ -70,8 +70,8 @@ static void parse_commands_josn(string base_lib_dir, string json_file_path) var triggerModelLoadCommands = cmdList.Where(cmd => cmd.name.Contains("trigger.model.load()")).ToList(); // get trigger.model.load() commands - var triggerBlockConstenets = cmdList.Where(cmd => cmd.name.Contains("trigger.BLOCK_")).ToList(); - cmdList = cmdList.Except(triggerBlockConstenets).ToList(); + var triggerBlockConstants = cmdList.Where(cmd => cmd.name.Contains("trigger.BLOCK_")).ToList(); + cmdList = cmdList.Except(triggerBlockConstants).ToList(); cmdList = cmdList.Except(directFunctioncommands).ToList(); // remove all directFunctioncommands commands and handle it speratley