-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Print total results banner at the end of execution #160
Print total results banner at the end of execution #160
Conversation
🙏 Thanks for opening this pull request! Please check out our contributing guidelines. |
🙏 Thank your for raising your pull request. |
@budevg Please make sure your fork is up-to-date with the master. |
ok I rebased the fork and force pushed the pr |
Your current implementation prints following
and
Let follow the guideline specified in issue Format as
|
} | ||
|
||
func executeAndStopIfFailed(command *models.CommandContext) { | ||
func executeAndStopIfFailed(command *models.CommandContext, executeStart time.Time) { | ||
command.PrintBanner() | ||
err := command.CommandSession.Run() | ||
if err != nil { | ||
exitCode := (err.Error())[12:] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check issue description #155 for more details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With message Execution failed: phase 'a' - exit code: 127
phase and exit code could be anything
@budevg Thanks and congratulations on the first PR for |
Congrats on merging your first pull request! We here at 1build are proud of you! 🙏 |
Description
Simple results banner which is printed at the end
Fixes/Implements: # (issue)
This commit resolves #155
New dependencies introduced?
no
Checklist: