progga 1.0.7 → 1.0.8

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/package.json +1 -1
  2. package/telemetry.js +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "progga",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Generate comprehensive project documentation for AI assistants - Share your entire codebase context in one markdown file",
5
5
  "main": "index.js",
6
6
  "bin": {
package/telemetry.js CHANGED
@@ -116,7 +116,9 @@ function maybeShowTelemetryNotice() {
116
116
 
117
117
 
118
118
  process.on('exit', () => {
119
- client.shutdown()
120
- })
119
+ try {
120
+ client?.shutdown();
121
+ } catch {}
122
+ });
121
123
 
122
124
  module.exports = { capture, maybeShowTelemetryNotice }