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 b7d5973 commit 10240ceCopy full SHA for 10240ce
1 file changed
src/commands/logs/list.rs
@@ -54,13 +54,11 @@ pub(super) fn execute(args: ListLogsArgs) -> Result<()> {
54
let config = Config::current();
55
let (default_org, default_project) = config.get_org_and_project_defaults();
56
57
- let org = args
58
- .org
59
- .as_ref()
60
- .or(default_org.as_ref())
61
- .ok_or_else(|| {
62
- anyhow::anyhow!("No organization specified. Please specify an organization using the --org argument.")
63
- })?;
+ let org = args.org.as_ref().or(default_org.as_ref()).ok_or_else(|| {
+ anyhow::anyhow!(
+ "No organization specified. Please specify an organization using the --org argument."
+ )
+ })?;
64
65
let project = args
66
.project
0 commit comments