Skip to content
This repository was archived by the owner on Mar 26, 2018. It is now read-only.

Commit 1f907d3

Browse files
committed
fix(gen): use absolute paths in generated .gitignore
The generated .gitignore contains relative paths that will match in both the root of the project or somewhere down the tree. This can be problematic if the project gets a folder called `dist` or some other ignored name. This patch makes the default .gitignores absolute.
1 parent c9c3aa6 commit 1f907d3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

templates/common/root/gitignore

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
node_modules
2-
dist
3-
.tmp
4-
.sass-cache
5-
bower_components
1+
/node_modules
2+
/dist
3+
/.tmp
4+
/.sass-cache
5+
/bower_components

0 commit comments

Comments
 (0)