There was an error while loading. Please reload this page.
1 parent b9fc6a9 commit 0262014Copy full SHA for 0262014
1 file changed
lib/agents-md.js
@@ -3,15 +3,13 @@ import fs from "fs-extra";
3
import { errorCauses, createError } from "error-causes";
4
5
// Error causes for AGENTS.md operations
6
-const [agentsErrors] = errorCauses({
+const [{ AgentsFileError }] = errorCauses({
7
AgentsFileError: {
8
code: "AGENTS_FILE_ERROR",
9
message: "AGENTS.md file operation failed",
10
},
11
});
12
13
-const { AgentsFileError } = agentsErrors;
14
-
15
// The required directives that must be present in AGENTS.md
16
// These are keyword patterns that indicate the directive is present
17
const REQUIRED_DIRECTIVES = [
0 commit comments