fix(gen): use absolute paths in generated .gitignore · yeoman/generator-angular@1f907d3

Skip to content

Navigation Menu

Sign in

Appearance settings

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

Commit 1f907d3

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.

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 5 additions & 5 deletions

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