Skip to content

Commit 10240ce

Browse files
committed
formatting
1 parent b7d5973 commit 10240ce

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

src/commands/logs/list.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,11 @@ pub(super) fn execute(args: ListLogsArgs) -> Result<()> {
5454
let config = Config::current();
5555
let (default_org, default_project) = config.get_org_and_project_defaults();
5656

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-
})?;
57+
let org = args.org.as_ref().or(default_org.as_ref()).ok_or_else(|| {
58+
anyhow::anyhow!(
59+
"No organization specified. Please specify an organization using the --org argument."
60+
)
61+
})?;
6462

6563
let project = args
6664
.project

0 commit comments

Comments
 (0)