@ship-cli/core 0.1.1 → 0.1.2

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/bin.js +6 -2
  2. package/package.json +1 -1
package/dist/bin.js CHANGED
@@ -190858,7 +190858,7 @@ var command = ship.pipe(
190858
190858
  prCommand
190859
190859
  ])
190860
190860
  );
190861
- var version = "0.1.1" ;
190861
+ var version = "0.1.2" ;
190862
190862
  var run9 = run8(command, {
190863
190863
  name: "ship",
190864
190864
  version
@@ -196117,8 +196117,12 @@ var make76 = gen2(function* () {
196117
196117
  if (!result.success) {
196118
196118
  return null;
196119
196119
  }
196120
+ const trimmedOutput = result.output.trim();
196121
+ if (!trimmedOutput) {
196122
+ return null;
196123
+ }
196120
196124
  const parsed = yield* try_2({
196121
- try: () => JSON.parse(result.output),
196125
+ try: () => JSON.parse(trimmedOutput),
196122
196126
  catch: (e2) => new PrError({ message: `Failed to parse repo info: ${e2}`, cause: e2 })
196123
196127
  });
196124
196128
  return parsed.nameWithOwner;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ship-cli/core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "Linear + jj workflow CLI for AI agents",