@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.
- package/dist/bin.js +6 -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.
|
|
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(
|
|
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;
|