Skip to content

Commit

Permalink
Fixed github integration
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeGinnivan committed Aug 20, 2024
1 parent fac4206 commit cb36786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/app/lib/github.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function downloadFirstMdxFile(list: Array<{ name: string; type: string; pa
async function downloadMdxFileOrDirectory(
relativeMdxFileOrDirectory: string,
): Promise<{ entry: string; files: Array<GitHubFile> }> {
const mdxFileOrDirectory = `content/${relativeMdxFileOrDirectory}`
const mdxFileOrDirectory = `${relativeMdxFileOrDirectory}`

const parentDir = nodePath.dirname(mdxFileOrDirectory)
const dirList = await downloadDirList(parentDir)
Expand Down

0 comments on commit cb36786

Please sign in to comment.