mirror of
https://github.com/railwayapp/cli
synced 2026-04-21 22:17:25 +00:00
style: fix rustfmt chain and await formatting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ef34d2b7ce
commit
8a6fd56cfa
1 changed files with 6 additions and 2 deletions
|
|
@ -327,7 +327,10 @@ async fn main() -> Result<()> {
|
|||
}
|
||||
|
||||
let exec_result = if is_prompt {
|
||||
let message = cli.get_one::<String>("prompt").cloned().filter(|s| !s.is_empty());
|
||||
let message = cli
|
||||
.get_one::<String>("prompt")
|
||||
.cloned()
|
||||
.filter(|s| !s.is_empty());
|
||||
let json = cli.get_flag("json");
|
||||
let start = std::time::Instant::now();
|
||||
let result = commands::prompt::command(commands::prompt::Args {
|
||||
|
|
@ -336,7 +339,8 @@ async fn main() -> Result<()> {
|
|||
thread_id: None,
|
||||
service: None,
|
||||
environment: None,
|
||||
}).await;
|
||||
})
|
||||
.await;
|
||||
let duration = start.elapsed();
|
||||
telemetry::send(telemetry::CliTrackEvent {
|
||||
command: "prompt".to_string(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue