@wix/ditto-codegen-public 1.0.92 → 1.0.93
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/out.js +4 -2
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -78381,13 +78381,15 @@ var TaskExecutor = class {
|
|
|
78381
78381
|
});
|
|
78382
78382
|
}
|
|
78383
78383
|
/**
|
|
78384
|
-
* Kills the child process if it's running and updates status to CANCELLED
|
|
78384
|
+
* Kills the child process if it's running and updates status to CANCELLED only if the job was cancelled
|
|
78385
78385
|
*/
|
|
78386
78386
|
async kill() {
|
|
78387
78387
|
if (this.child && !this.child.killed) {
|
|
78388
78388
|
try {
|
|
78389
78389
|
this.child.kill();
|
|
78390
|
-
|
|
78390
|
+
if (this.wasCancelled) {
|
|
78391
|
+
await codeGenerationService.markJobAsCancelled(this.jobId);
|
|
78392
|
+
}
|
|
78391
78393
|
} catch (error) {
|
|
78392
78394
|
console.error("[TaskExecutor] Error killing process:", error);
|
|
78393
78395
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ditto-codegen-public",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.93",
|
|
4
4
|
"description": "AI-powered Wix CLI app generator - standalone executable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node build.mjs",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"@wix/ditto-codegen": "1.0.0",
|
|
25
25
|
"esbuild": "^0.25.9"
|
|
26
26
|
},
|
|
27
|
-
"falconPackageHash": "
|
|
27
|
+
"falconPackageHash": "7ca771bd9b3080bcfe36d0fb4a4c946664e5c59fc94ddc9f4e5dfa97"
|
|
28
28
|
}
|