From eaceb90a545f7b8f9d2cd44db3a8ef68a3d537ae Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Mon, 6 Jan 2025 20:19:40 +0100 Subject: [PATCH] fixup! Support embed url card --- actions/test/integration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/test/integration.js b/actions/test/integration.js index bdf5b18..7c1f454 100644 --- a/actions/test/integration.js +++ b/actions/test/integration.js @@ -37,7 +37,7 @@ async function getURLFromLastResult(lastStdout) { lastStdout = lastStdout.toString(); const postMatch = lastStdout.match(/Processed and moved file: (.*) -> (.*)/); assert(postMatch); - const processed = loadJSON(postMatch[2]); + const processed = loadJSON(postMatch[2])[0]; assert(processed.result.uri); const uriParts = processed.result.uri.split('/'); const postId = uriParts[uriParts.length - 1];