@kendoo.agentdesk/agentdesk 0.9.16 → 0.9.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/daemon.mjs +1 -1
- package/cli/team.mjs +1 -1
- package/package.json +1 -1
package/cli/daemon.mjs
CHANGED
|
@@ -356,7 +356,7 @@ export async function runDaemon() {
|
|
|
356
356
|
if (tracker === "linear" && config.linear?.workspace) {
|
|
357
357
|
taskLink = `https://linear.app/${config.linear.workspace}/issue/${remoteTaskId}`;
|
|
358
358
|
} else if (tracker === "jira" && config.jira?.baseUrl) {
|
|
359
|
-
taskLink = `${config.jira.baseUrl}/browse/${remoteTaskId}`;
|
|
359
|
+
taskLink = `${config.jira.baseUrl.replace(/\/+$/, "")}/browse/${remoteTaskId}`;
|
|
360
360
|
} else if (tracker === "github") {
|
|
361
361
|
const repo = config.github?.repo || "";
|
|
362
362
|
if (repo) taskLink = `https://github.com/${repo}/issues/${remoteTaskId}`;
|
package/cli/team.mjs
CHANGED
|
@@ -74,7 +74,7 @@ export async function runTeam(taskId, opts = {}) {
|
|
|
74
74
|
if (tracker === "linear" && config.linear?.workspace) {
|
|
75
75
|
taskLink = `https://linear.app/${config.linear.workspace}/issue/${taskId}`;
|
|
76
76
|
} else if (tracker === "jira" && config.jira?.baseUrl) {
|
|
77
|
-
taskLink = `${config.jira.baseUrl}/browse/${taskId}`;
|
|
77
|
+
taskLink = `${config.jira.baseUrl.replace(/\/+$/, "")}/browse/${taskId}`;
|
|
78
78
|
} else if (tracker === "github") {
|
|
79
79
|
const repo = config.github?.repo || "";
|
|
80
80
|
if (repo) taskLink = `https://github.com/${repo}/issues/${taskId}`;
|