@clipboard-health/ai-rules 2.20.10 → 2.20.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clipboard-health/ai-rules",
3
- "version": "2.20.10",
3
+ "version": "2.20.11",
4
4
  "description": "Pre-built AI agent rules for consistent coding standards.",
5
5
  "keywords": [
6
6
  "ai",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toErrorMessage = toErrorMessage;
4
- // Prefer stack over message for Error instances to keep debugging context.
4
+ // Prefer stack over message for Error instances to preserve debugging context.
5
5
  function toErrorMessage(error) {
6
6
  return error instanceof Error ? (error.stack ?? error.message) : String(error);
7
7
  }