We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 430d380 commit ce3cf04Copy full SHA for ce3cf04
crates/q_cli/src/util/mod.rs
@@ -291,7 +291,7 @@ pub fn dialoguer_theme() -> ColorfulTheme {
291
}
292
293
pub async fn assert_logged_in() -> Result<(), Error> {
294
- if !fig_util::system_info::in_cloudshell() && !fig_auth::is_logged_in().await {
+ if !(std::env::var("AMAZON_Q_SIGV4").is_ok_and(|v| !v.is_empty()) || fig_auth::is_logged_in().await) {
295
bail!(
296
"You are not logged in, please log in with {}",
297
format!("{CLI_BINARY_NAME} login",).bold()
0 commit comments