skillsets 0.4.5 → 0.4.6

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.
@@ -252,7 +252,7 @@ _Add any additional context for reviewers here._
252
252
  Submitted via \`npx skillsets submit\`
253
253
  `;
254
254
  // Check if PR already exists for this branch
255
- const existingPr = spawnSync('gh', ['pr', 'view', '--repo', REGISTRY_REPO, '--head', `${username}:${branchName}`, '--json', 'url', '--jq', '.url'], {
255
+ const existingPr = spawnSync('gh', ['pr', 'list', '--repo', REGISTRY_REPO, '--head', `${username}:${branchName}`, '--json', 'url', '--jq', '.[0].url', '--state', 'open', '--limit', '1'], {
256
256
  cwd: tempDir,
257
257
  encoding: 'utf-8',
258
258
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillsets",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "CLI tool for discovering and installing verified skillsets",
5
5
  "type": "module",
6
6
  "bin": {