cc-hooks-ts 0.0.4 → 0.0.5
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/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -115,7 +115,7 @@ function handleHookResult(eventName, hookResult) {
|
|
|
115
115
|
if (isNonEmptyString(hookResult.payload)) console.error(hookResult.payload);
|
|
116
116
|
return process.exit(1);
|
|
117
117
|
case "json":
|
|
118
|
-
console.log(JSON.stringify(hookResult.payload));
|
|
118
|
+
console.log(JSON.stringify(hookResult.payload.output));
|
|
119
119
|
return process.exit(0);
|
|
120
120
|
}
|
|
121
121
|
}
|