Skip to content

Commit f173452

Browse files
ignores documents/.git
1 parent 4b4cd6d commit f173452

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function loadBlogs() {
2525
}
2626

2727
return Promise.resolve()
28-
.then(() => readFiles(baseDir, {flatten: true}))
28+
.then(() => readFiles(baseDir, {flatten: true, ignores: ['.git']}))
2929
.then(blogs => blogs.filter(blog => blog && typeof blog.url === 'string'))
3030
.then(blogs => {
3131
blogs.forEach(blog => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dev-blog-directory-save",
3-
"version": "0.4.1",
3+
"version": "0.4.3",
44
"description": "API for save new blogs to dev-blog-directory.",
55
"main": "lib/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)