From 9f3902b48db371a9d229d7c8dda4e86f375ab37d Mon Sep 17 00:00:00 2001 From: J H Date: Thu, 28 Mar 2024 13:37:15 -0600 Subject: [PATCH] chore: Fix the last of the actions --- container-runtime/src/Models/JsonPath.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/container-runtime/src/Models/JsonPath.ts b/container-runtime/src/Models/JsonPath.ts index 773331b19..314019154 100644 --- a/container-runtime/src/Models/JsonPath.ts +++ b/container-runtime/src/Models/JsonPath.ts @@ -15,10 +15,10 @@ export function unNestPath(a: A): UnNestPaths { function isNestedPath(path: string): path is NestedPaths { const paths = path.split("/") if (paths.length !== 4) return false - if (paths[1] === "action" && (paths[3] === "run" || paths[3] === "get")) + if (paths[1] === "actions" && (paths[3] === "run" || paths[3] === "get")) return true if ( - paths[1] === "dependencyConfig" && + paths[1] === "dependencies" && (paths[3] === "query" || paths[3] === "update") ) return true