Skip to content

Commit

Permalink
fixup! Support embed url card
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Jan 6, 2025
1 parent 944754d commit eaceb90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/test/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit eaceb90

Please sign in to comment.