Skip to content

Commit

Permalink
add docs to context if they exist
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Sep 6, 2024
1 parent 0b6b3d3 commit 2233ffb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/getContextFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,9 @@ export async function getContextFiles(): Promise<string[]> {
files.push("README.md")
}

if (fs.existsSync("docs") && !shouldIgnore("docs")) {
files.push("docs")
}

return files
}

0 comments on commit 2233ffb

Please sign in to comment.