mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
chore: Fix the last of the actions
This commit is contained in:
@@ -15,10 +15,10 @@ export function unNestPath<A extends string>(a: A): UnNestPaths<A> {
|
|||||||
function isNestedPath(path: string): path is NestedPaths {
|
function isNestedPath(path: string): path is NestedPaths {
|
||||||
const paths = path.split("/")
|
const paths = path.split("/")
|
||||||
if (paths.length !== 4) return false
|
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
|
return true
|
||||||
if (
|
if (
|
||||||
paths[1] === "dependencyConfig" &&
|
paths[1] === "dependencies" &&
|
||||||
(paths[3] === "query" || paths[3] === "update")
|
(paths[3] === "query" || paths[3] === "update")
|
||||||
)
|
)
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user