From 244aa851276fd765315d5f9b2a8faf2dfe8561d5 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Wed, 16 Jul 2025 12:58:35 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../runtime-core/__tests__/rendererAttrsFallthrough.spec.ts | 2 +- packages/runtime-core/__tests__/rendererFragment.spec.ts | 2 +- packages/runtime-core/src/compat/componentAsync.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/runtime-core/__tests__/rendererAttrsFallthrough.spec.ts b/packages/runtime-core/__tests__/rendererAttrsFallthrough.spec.ts index 45d00579fe..73e67aab2a 100644 --- a/packages/runtime-core/__tests__/rendererAttrsFallthrough.spec.ts +++ b/packages/runtime-core/__tests__/rendererAttrsFallthrough.spec.ts @@ -573,7 +573,7 @@ describe('attribute fallthrough', () => { const Child = { props: [], render() { - return openBlock(), createBlock('div') + return (openBlock(), createBlock('div')) }, } diff --git a/packages/runtime-core/__tests__/rendererFragment.spec.ts b/packages/runtime-core/__tests__/rendererFragment.spec.ts index 81cf7b8df3..3394a41b2a 100644 --- a/packages/runtime-core/__tests__/rendererFragment.spec.ts +++ b/packages/runtime-core/__tests__/rendererFragment.spec.ts @@ -416,7 +416,7 @@ describe('renderer: fragment', () => { const root = nodeOps.createElement('div') const renderFn = () => { - return openBlock(true), createBlock(Fragment, null) + return (openBlock(true), createBlock(Fragment, null)) } render(renderFn(), root) diff --git a/packages/runtime-core/src/compat/componentAsync.ts b/packages/runtime-core/src/compat/componentAsync.ts index b6bd6dd4b9..fc6ae3b793 100644 --- a/packages/runtime-core/src/compat/componentAsync.ts +++ b/packages/runtime-core/src/compat/componentAsync.ts @@ -35,7 +35,7 @@ export function convertLegacyAsyncComponent( let resolve: (res: LegacyAsyncReturnValue) => void let reject: (reason?: any) => void const fallbackPromise = new Promise((r, rj) => { - ;(resolve = r), (reject = rj) + ;((resolve = r), (reject = rj)) }) const res = comp(resolve!, reject!) -- 2.47.2