Skip to content

Commit

Permalink
fix(): refine debug
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofengxi committed May 17, 2024
1 parent 0a7abe2 commit 27181f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/runtime/src/internal/secret_internals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,11 +447,11 @@ export async function debugDataValue(
tplStateStoreId,
};

if (debugData.value) {
return asyncComputeRealValue(debugData.value, runtimeContext);
if (debugData.resolve) {
return resolveData(debugData.resolve!, runtimeContext, { cache: "reload" });
}

return resolveData(debugData.resolve!, runtimeContext, { cache: "reload" });
return asyncComputeRealValue(debugData.value, runtimeContext);
}

export {
Expand Down

0 comments on commit 27181f7

Please sign in to comment.