fix(react-native): remove trailing "/" in generated .gitignore (#10827)
This "/" ended up being added in root .gitignore file, adding the whole project as "ignored".
This commit is contained in:
parent
a7888552b8
commit
1d8369b646
@ -14,7 +14,7 @@ export function addGitIgnoreEntry(host: Tree) {
|
||||
ig.add(host.read('.gitignore', 'utf-8'));
|
||||
|
||||
if (!ig.ignores('apps/example/ios/Pods/Folly')) {
|
||||
content = `${content}\n${gitIgnoreEntriesForReactNative}/\n`;
|
||||
content = `${content}\n${gitIgnoreEntriesForReactNative}\n`;
|
||||
}
|
||||
|
||||
// also ignore nested node_modules folders due to symlink for React Native
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user