-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add request_review_post_sync hook messaging
Add specific messaging around the request_review_post_sync hook as it is a blocker for the requset-review command to function. So I wanted to make it clear to the user and give them information about it and where they can go to find more information. I also wanted to make the hook found but not executable case well known and how to address it easy for the user as it as well is blocker for the request-review command functioning properly. This relates it issue #80. [changelog] added: request_review_post_sync messaging in requset-review command ps-id: 81428726-0981-41cb-9318-cf76eb849edc
- Loading branch information
1 parent
1e5746e
commit bfbe489
Showing
5 changed files
with
76 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,4 @@ pub mod status; | |
pub mod add_changes_to_stage; | ||
pub mod log; | ||
pub mod unstage; | ||
pub mod utils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
use ansi_term::Colour::Red; | ||
|
||
pub fn print_err(color: bool, message: &str) { | ||
if color { | ||
eprintln!("{}", Red.paint(message)) | ||
} else { | ||
eprintln!("{}", message) | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters