We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e200071 commit 81c6d7bCopy full SHA for 81c6d7b
postinstall.mjs
@@ -69,6 +69,9 @@ const verbose = logger.verbose
69
*
70
* @param {string} filePath - Path to the agent file to validate
71
* @returns {{ valid: boolean, error?: string }} Validation result with optional error message
72
+ * @throws {Error} If the file does not exist (ENOENT)
73
+ * @throws {Error} If permission is denied reading the file (EACCES)
74
+ * @throws {Error} If the file is a directory (EISDIR)
75
76
* @example
77
* // Validate an agent file
0 commit comments