From 496000437366f09b3bfdecdd4d4a25b39d31c67f Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Tue, 6 Dec 2022 11:33:04 -0500 Subject: [PATCH] Update references to Job `needs` --- actions-languageservice/src/context-providers/needs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions-languageservice/src/context-providers/needs.ts b/actions-languageservice/src/context-providers/needs.ts index 559aa94..92ec131 100644 --- a/actions-languageservice/src/context-providers/needs.ts +++ b/actions-languageservice/src/context-providers/needs.ts @@ -10,8 +10,8 @@ export function getNeedsContext(workflowContext: WorkflowContext): data.Dictiona } for (const jobID of workflowContext.job.needs) { - const job = workflowContext.template?.jobs.find(job => job.id.value === jobID); - d.add(jobID, needsJobContext(job)); + const job = workflowContext.template?.jobs.find(job => job.id.value === jobID.value); + d.add(jobID.value, needsJobContext(job)); } return d;