summaryrefslogtreecommitdiff
path: root/model/job.ts
diff options
context:
space:
mode:
authorElizabeth <lizhunt@amazon.com>2025-05-28 15:05:38 -0700
committerElizabeth <lizhunt@amazon.com>2025-05-28 15:05:38 -0700
commit3005cc83e605fb89b079cf0e6fd0ec95cd27b30e (patch)
tree992c5933f2ec4a75e32469ddd772c61dbcb2e2fd /model/job.ts
parente3cf820b07e282221502cf2f116c9780b7375e0e (diff)
downloadci-3005cc83e605fb89b079cf0e6fd0ec95cd27b30e.tar.gz
ci-3005cc83e605fb89b079cf0e6fd0ec95cd27b30e.zip
Run prettier, add zed settings
Diffstat (limited to 'model/job.ts')
-rw-r--r--model/job.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/model/job.ts b/model/job.ts
index a3b52dd..52386eb 100644
--- a/model/job.ts
+++ b/model/job.ts
@@ -6,8 +6,14 @@ export interface Job {
readonly arguments: JobArgT;
}
export const isJob = (j: unknown): j is Job =>
- !!(isObject(j) && "arguments" in j && isObject(j.arguments) &&
- "type" in j && typeof j.type === "string" && j);
+ !!(
+ isObject(j) &&
+ "arguments" in j &&
+ isObject(j.arguments) &&
+ "type" in j &&
+ typeof j.type === "string" &&
+ j
+ );
export interface FetchCodeJobProps extends JobArgT {
readonly remoteUrl: string;