Skip to content

Commit

Permalink
Merge pull request #47 from gentlementlegen/fix/metadata-order
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 authored Jan 6, 2025
2 parents f6aeac0 + 0f8b8cf commit 8cd118a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async function createStructuredMetadataWithMessage(context: Context, message: Lo
const runUrl = PluginRuntimeInfo.getInstance().runUrl;
const version = await PluginRuntimeInfo.getInstance().version;

const ubiquityMetadataHeader = `<!-- ${HEADER_NAME} - ${runUrl} - ${callingFnName} - ${version} - @${instigatorName}`;
const ubiquityMetadataHeader = `<!-- ${HEADER_NAME} - ${callingFnName} - ${version} - @${instigatorName} - ${runUrl}`;

let metadataSerialized: string;
const metadataSerializedVisible = ["```json", jsonPretty, "```"].join("\n");
Expand Down
2 changes: 1 addition & 1 deletion tests/sdk.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ describe("SDK worker tests", () => {
! test error
\`\`\`
<!-- UbiquityOS - http://localhost - createPlugin.name - 1234 - @gentlementlegen
<!-- UbiquityOS - createPlugin.name - 1234 - @gentlementlegen - http://localhost
{
"caller": "createPlugin.name"
}
Expand Down

0 comments on commit 8cd118a

Please sign in to comment.