From 0e7872e429917aba4ac46b6953d52b8685809f67 Mon Sep 17 00:00:00 2001 From: bofeng Date: Wed, 11 Dec 2024 10:27:14 +0800 Subject: [PATCH] fix eslint --- cocos/spine/skeleton-cache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/spine/skeleton-cache.ts b/cocos/spine/skeleton-cache.ts index 8798c425236..a02690b3892 100644 --- a/cocos/spine/skeleton-cache.ts +++ b/cocos/spine/skeleton-cache.ts @@ -467,7 +467,7 @@ class SkeletonCache { delete animationPool[key]; } } - let skeletonInfo = this._skeletonCache[uuid]; + const skeletonInfo = this._skeletonCache[uuid]; const skeleton = skeletonInfo && skeletonInfo.skeleton; if (skeleton) { spine.wasmUtil.destroySpineSkeleton(skeleton);