Skip to content

Conversation

@moelasmar
Copy link
Contributor

Which issue(s) does this change fix?

change the multiple functions warning message colour to yellow

Checklist

  • Add input/output type hints to new functions/methods
  • Write design document (Do I need to write a design document?)
  • Write unit tests
  • Write/update functional tests
  • Write/update integration tests
  • make pr passes
  • make update-reproducible-reqs if dependencies were changed
  • Write documentation

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

message = (
f"Multiple functions found with keyword {name}! Function {found_fs[0].full_path} will be "
f"invoked! If it's not the function you are going to invoke, please choose one of them from"
f" below:"
Copy link
Contributor

Choose a reason for hiding this comment

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

name,found_fs[0].full_path, Do we want to add these to the message?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

they are already there
f"Multiple functions found with keyword <<<{name}!>>>> Function <<<<{found_fs[0].full_path}>>>> will be "

@moelasmar moelasmar requested a review from wchengru December 22, 2021 18:40
@moelasmar moelasmar merged commit 5095dc6 into aws:develop Dec 22, 2021
@moelasmar moelasmar deleted the develop-use-yellow-color-for-warning-message branch December 22, 2021 21:59
mndeveci pushed a commit to mndeveci/aws-sam-cli that referenced this pull request Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants