PerformScan: Tidy condition using nlohmann::json::is_array()
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I59e79457d275fde03cc898dea608de2bab89c4ce
diff --git a/src/PerformScan.cpp b/src/PerformScan.cpp
index fa6a465..ccc4a64 100644
--- a/src/PerformScan.cpp
+++ b/src/PerformScan.cpp
@@ -526,8 +526,7 @@
auto configListFind = config.find("Exposes");
if (configListFind == config.end() ||
- configListFind->type() !=
- nlohmann::json::value_t::array)
+ !configListFind->is_array())
{
continue;
}