Update src/main.rs
This commit is contained in:
parent
04504d6d9e
commit
e8e2dcd198
|
@ -441,7 +441,7 @@ async fn main_wrapped(rc: &mut ExitCode) -> crate::Result<()> {
|
|||
debug!("option parsing complete. continuing to job selection.");
|
||||
|
||||
if let Err(_) = std::env::var("GIT_DIR") {
|
||||
|
||||
bail!("git-remote-k8s was meant to be run from git. run with --help for more info.");
|
||||
}
|
||||
|
||||
let client = ctx.ktx(Some(kube_context.to_owned())).await?;
|
||||
|
|
Loading…
Reference in New Issue
Block a user