Skip to content

Commit

Permalink
Remove check around AWS CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanFrench committed Jun 2, 2020
1 parent d904d5b commit 6a8a7df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
### Changed
- Return the version without extra text in command line

### Removed
- Remove check for aws-cli, that's not our responsibility

## 0.2.0

### Added
Expand Down
4 changes: 0 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ aws-role --role-arn=arn:aws:iam::1234567890:role/my-role aws s3 ls`,
// Execute adds all child commands to the root command sets flags appropriately.
// This is called by main.main(). It only needs to happen once to the rootCmd.
func Execute() {
_, err := exec.LookPath("aws")
if err != nil {
log.WithError(err).Fatal("aws cli is not installed. For information on how to install the aws cli, please visit https://aws.amazon.com/cli/")
}
if err := rootCmd.Execute(); err != nil {
log.Error(err)
os.Exit(-1)
Expand Down

0 comments on commit 6a8a7df

Please sign in to comment.