Skip to content
New issue

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

fix(cli): wrongly assume aws config file always exists #6001

Closed
wants to merge 2 commits into from

Conversation

duarten
Copy link
Contributor

@duarten duarten commented Jan 28, 2020

Signed-off-by: Duarte Nunes duarte@uma.ni


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Signed-off-by: Duarte Nunes <duarte@uma.ni>
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@eladb eladb changed the title fix(sdk): promises are always truthy, await the value instead fix(cli): promises are always truthy, await the value instead Feb 3, 2020
Copy link
Contributor

@eladb eladb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oouch.. Thanks for this. I am curious - did this cause any issues? Is there a specific bug this would fix?

@eladb eladb requested a review from shivlaks February 3, 2020 12:26
@duarten
Copy link
Contributor Author

duarten commented Feb 3, 2020

I just happen to notice it. I guess it depends on the behavior of the sdk, but I’d imagine it causes an enoent somewhere.

@eladb eladb changed the title fix(cli): promises are always truthy, await the value instead fix(cli): wrongly assume aws config file always exists Feb 10, 2020
eladb
eladb previously approved these changes Feb 10, 2020
@mergify
Copy link
Contributor

mergify bot commented Feb 10, 2020

Thank you for contributing! Your pull request is now being automatically merged.

1 similar comment
@mergify
Copy link
Contributor

mergify bot commented Feb 10, 2020

Thank you for contributing! Your pull request is now being automatically merged.

@mergify mergify bot dismissed eladb’s stale review February 10, 2020 12:48

Pull request has been modified.

@duarten
Copy link
Contributor Author

duarten commented Feb 10, 2020

The base fork belongs to an organization and can't be updated by maintainers (mergify in this case). I've created a mirror PR from a personal base here: #6196

@duarten duarten closed this Feb 10, 2020
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants