deepcode-ai 1.1.9 → 1.1.10
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.js +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10478,6 +10478,14 @@ async function runCommand(input, options) {
|
|
|
10478
10478
|
configPath: options.config,
|
|
10479
10479
|
interactive: Boolean(options.yes)
|
|
10480
10480
|
});
|
|
10481
|
+
runtime.events.on("app:warn", (payload) => {
|
|
10482
|
+
process.stderr.write(`warning: ${payload.message}
|
|
10483
|
+
`);
|
|
10484
|
+
});
|
|
10485
|
+
runtime.events.on("app:error", (payload) => {
|
|
10486
|
+
process.stderr.write(`error: ${payload.error.message}
|
|
10487
|
+
`);
|
|
10488
|
+
});
|
|
10481
10489
|
if (options.yes) {
|
|
10482
10490
|
runtime.events.on("approval:request", (request) => {
|
|
10483
10491
|
runtime.events.emit("approval:decision", {
|