We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
thanks for your work!
multiple call to "ng add" results in same number of gitignore entries const buffer = host.read('.gitignore'); const content = buffer.toString(); if( !buffer.toString().includes('environments/version.ts'){ // call addEntry }
and file isn't really ignore sol1) environments/version.ts --> */environments/version.ts sol2) create a .gitignore in the same path of version.js
The text was updated successfully, but these errors were encountered:
fix issue w11k#2
f8cc23b
I see why the gitignore doesn't seem to work in some cases but you shouldn't be able to to run ng add multiple times.
ng add
If I run it again after it's already been added to the project I get the following error:
$ ng add @w11k/git-info Skipping installation: Package already installed ERROR! git-version.js already exists. The Schematic workflow failed. See above.
Sorry, something went wrong.
kaihenzler
Successfully merging a pull request may close this issue.
thanks for your work!
1
multiple call to "ng add" results in same number of gitignore entries
const buffer = host.read('.gitignore');
const content = buffer.toString();
if( !buffer.toString().includes('environments/version.ts'){
// call addEntry
}
2
and file isn't really ignore
sol1) environments/version.ts --> */environments/version.ts
sol2) create a .gitignore in the same path of version.js
The text was updated successfully, but these errors were encountered: