Skip to content

Commit

Permalink
#8 Rename directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
raeperd committed Jan 9, 2022
1 parent fd2089b commit b7e573d
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/article.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { join } from 'path';
import { readdirSync, readFileSync, statSync } from 'fs';
import matter from 'gray-matter';

const ARTICLE_DIRECTORY = join(process.cwd(), 'lib', 'content', 'post')
const ARTICLE_DIRECTORY = join(process.cwd(), 'lib', 'content', 'article')

export function getAllArticles(): Article[] {
return readdirSync(ARTICLE_DIRECTORY)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b7e573d

Please sign in to comment.