chiefwiggum 1.3.23 → 1.3.24
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/dist/cli.cjs +9 -0
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -1209,6 +1209,15 @@ Create 5-15 issues.${projectName ? ` Add each to project "${projectName}".` : ""
|
|
|
1209
1209
|
const projects = JSON.parse(projectsOutput);
|
|
1210
1210
|
const project = projects.projects?.find((p2) => p2.title === projectName);
|
|
1211
1211
|
projectNumber = project?.number?.toString() || null;
|
|
1212
|
+
if (projectNumber) {
|
|
1213
|
+
try {
|
|
1214
|
+
(0, import_node_child_process6.execSync)(
|
|
1215
|
+
`gh project link ${projectNumber} --owner ${repoName.split("/")[0]} --repo ${repoName}`,
|
|
1216
|
+
{ stdio: ["pipe", "pipe", "pipe"] }
|
|
1217
|
+
);
|
|
1218
|
+
} catch {
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1212
1221
|
} catch {
|
|
1213
1222
|
}
|
|
1214
1223
|
}
|