Skip to content

Commit

Permalink
fix: unneeded return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
wangeguo committed Dec 10, 2024
1 parent 4b533b4 commit f0ed3e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ops/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ pub async fn load(ctx: &Context, filename: &Option<PathBuf>, once: bool) -> Resu
let manifest = ctx.session.character.read().await.clone().unwrap();
let character = CharacterSpec { live: true, once, ..CharacterSpec::from(&manifest) };

return create(
create(
ctx.client.playbooks(),
PlaybookPayload {
title: "Untitled".to_string(),
description: "".to_string(),
preface: Preface::manifest(&character),
},
);
)
}

/// Create a playbook from the given payload.
Expand Down

0 comments on commit f0ed3e6

Please sign in to comment.