azdo-cli 0.10.0-develop.502 → 0.10.0-develop.507

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3205,7 +3205,8 @@ function autoDetectZeroMatch(branch) {
3205
3205
  return `No open pull request matches branch ${branch}. Pass --pr-number to target a specific PR, or push the branch and open a pull request.`;
3206
3206
  }
3207
3207
  function autoDetectMultiMatch(branch, ids) {
3208
- return `Multiple open pull requests match branch ${branch}: ${ids.map((id) => `#${id}`).join(", ")}. Re-run with --pr-number to choose.`;
3208
+ const idList = ids.map((id) => `#${id}`).join(", ");
3209
+ return `Multiple open pull requests match branch ${branch}: ${idList}. Re-run with --pr-number to choose.`;
3209
3210
  }
3210
3211
  function writeContractError(line) {
3211
3212
  process.stderr.write(`${line}
@@ -5141,10 +5142,7 @@ program.hook("postAction", async () => {
5141
5142
  process.stderr.write(notice + "\n");
5142
5143
  }
5143
5144
  });
5144
- async function main() {
5145
- await program.parseAsync();
5146
- if (process.argv.length <= 2) {
5147
- program.help();
5148
- }
5145
+ await program.parseAsync();
5146
+ if (process.argv.length <= 2) {
5147
+ program.help();
5149
5148
  }
5150
- void main();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azdo-cli",
3
- "version": "0.10.0-develop.502",
3
+ "version": "0.10.0-develop.507",
4
4
  "description": "Azure DevOps CLI tool",
5
5
  "type": "module",
6
6
  "bin": {