amazon-archives / awsmobile-cli

CLI experience for Frontend developers in the JavaScript ecosystem.
Apache License 2.0
142 stars 35 forks source link

awsmobile cli does not add the aws-exports.ts file to the .gitignore file #118

Closed SagarMhatre closed 6 years ago

SagarMhatre commented 6 years ago

When I followed the guide at https://aws.github.io/aws-amplify/media/angular_guide , I noticed that the awsmobile cli adds aws-exports.js to the .gitignore file but not the aws-exports.ts

This will result into aws details getting pushed to public repositories, which could be misused.

For now, manually adding it to the .gitignore helps.

UnleashedMind commented 6 years ago

The CLI was only managing the files that are generated by itself. But this can be easily updated, and it will be in the next cli version.

UnleashedMind commented 6 years ago

this is resolved in the latest cli update v1.1.3