From a9124cf98b7965215ed23c3dd4c1d07f39dfae27 Mon Sep 17 00:00:00 2001 From: ymayarajan3 Date: Mon, 1 Jul 2024 12:32:11 -0400 Subject: [PATCH] string --- .../src/common/extension/mixins/base/scratchVersioning/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/src/common/extension/mixins/base/scratchVersioning/index.ts b/extensions/src/common/extension/mixins/base/scratchVersioning/index.ts index c99e991b0..3bb554f7a 100644 --- a/extensions/src/common/extension/mixins/base/scratchVersioning/index.ts +++ b/extensions/src/common/extension/mixins/base/scratchVersioning/index.ts @@ -193,7 +193,7 @@ export default function (Ctor: BaseScratchExtensionConstuctor) { map.set(totalList[i].id, totalList[i]); } const mechanism: VersionArgTransformMechanism = { - arg: (identifier: ArgIdentifier) => map.get(identifier), + arg: (identifier: ArgIdentifier) => map.get(String(identifier)), args: () => Array.from(map.values()), } // Complete the transformation