From 1f26ab067fec8e7a07a73b50d318d90ab945e2a4 Mon Sep 17 00:00:00 2001 From: perlakib <93591167+balazs-vimn@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:52:27 +0100 Subject: [PATCH] Add shell argument to jsons --- Sources/ProjectSpec/Scheme.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/ProjectSpec/Scheme.swift b/Sources/ProjectSpec/Scheme.swift index 8fc19446..bb0a4bb9 100644 --- a/Sources/ProjectSpec/Scheme.swift +++ b/Sources/ProjectSpec/Scheme.swift @@ -402,6 +402,7 @@ extension Scheme.ExecutionAction: JSONObjectConvertible { script = try jsonDictionary.json(atKeyPath: "script") name = jsonDictionary.json(atKeyPath: "name") ?? "Run Script" settingsTarget = jsonDictionary.json(atKeyPath: "settingsTarget") + shell = jsonDictionary.json(atKeyPath: "shell") } } @@ -411,6 +412,7 @@ extension Scheme.ExecutionAction: JSONEncodable { "script": script, "name": name, "settingsTarget": settingsTarget, + "shell": shell ] } }