From fca59c4d155603b53d48a30401aabab82d91fc59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Minelli?= <git@minelli.me> Date: Tue, 5 Mar 2024 15:48:03 +0100 Subject: [PATCH] Sonar => Resolve issues --- types/Dojo/AssignmentFile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/Dojo/AssignmentFile.ts b/types/Dojo/AssignmentFile.ts index df09d53..00796b1 100644 --- a/types/Dojo/AssignmentFile.ts +++ b/types/Dojo/AssignmentFile.ts @@ -5,7 +5,7 @@ import { z } from 'zod'; const AssignmentFile = z.object({ dojoAssignmentVersion: z.number(), version : z.number(), - immutable : z.array(ImmutableFileDescriptor.transform(value => value as ImmutableFileDescriptor)), + immutable : z.array(ImmutableFileDescriptor), result : z.object({ container: z.string(), volume : z.string().optional() -- GitLab