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.
- package/dist/commands/submit.js +1 -1
- package/package.json +1 -1
package/dist/commands/submit.js
CHANGED
|
@@ -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', '
|
|
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
|
});
|