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

code refactor: log function #929

Closed
elenaterenzi opened this issue Dec 9, 2024 · 0 comments · Fixed by #962
Closed

code refactor: log function #929

elenaterenzi opened this issue Dec 9, 2024 · 0 comments · Fixed by #962

Comments

@elenaterenzi
Copy link
Contributor

elenaterenzi commented Dec 9, 2024

DoD:

  • log function to be placed in common.sh script that takes a string as an input and echoes to stderr the string.
  • replace calls to echo with the new log function in all other bash scripts whenever the echo command is logging info to the user
  • do not replace calls to echo when it is returning a value (like in createPipeline function for example)
  • verify xtrace option still works as expected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant