diff options
Diffstat (limited to 'src/bin/git_remote_nostr/main.rs')
| -rw-r--r-- | src/bin/git_remote_nostr/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/git_remote_nostr/main.rs b/src/bin/git_remote_nostr/main.rs index 41164fe..66c23ed 100644 --- a/src/bin/git_remote_nostr/main.rs +++ b/src/bin/git_remote_nostr/main.rs | |||
| @@ -30,6 +30,10 @@ mod push; | |||
| 30 | 30 | ||
| 31 | #[tokio::main] | 31 | #[tokio::main] |
| 32 | async fn main() -> Result<()> { | 32 | async fn main() -> Result<()> { |
| 33 | if std::env::var("NGITTEST").is_ok() { | ||
| 34 | std::env::set_var("NGIT_VERBOSE", "1"); | ||
| 35 | } | ||
| 36 | |||
| 33 | let Some((decoded_nostr_url, git_repo)) = process_args().await? else { | 37 | let Some((decoded_nostr_url, git_repo)) = process_args().await? else { |
| 34 | return Ok(()); | 38 | return Ok(()); |
| 35 | }; | 39 | }; |