skillsets 0.4.7 → 0.4.9
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
|
@@ -206,7 +206,7 @@ export async function submit() {
|
|
|
206
206
|
}
|
|
207
207
|
// Check if PR already exists for this branch (force push already updated it)
|
|
208
208
|
spinner.text = 'Checking for existing pull request...';
|
|
209
|
-
const existingPr = spawnSync('gh', ['pr', 'list', '--repo', REGISTRY_REPO, '--head',
|
|
209
|
+
const existingPr = spawnSync('gh', ['pr', 'list', '--repo', REGISTRY_REPO, '--head', branchName, '--json', 'url', '--jq', '.[0].url', '--state', 'open', '--limit', '1'], {
|
|
210
210
|
cwd: tempDir,
|
|
211
211
|
encoding: 'utf-8',
|
|
212
212
|
});
|