From 124aa93b9807d23cdfc5fc563bfe22fcb912ad53 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 29 Dec 2023 17:19:22 +0100 Subject: [PATCH] feat: without new async Signed-off-by: kjuulh --- crates/cuddle-ci/src/rust_lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/cuddle-ci/src/rust_lib.rs b/crates/cuddle-ci/src/rust_lib.rs index 47f9c75..b4ce8b0 100644 --- a/crates/cuddle-ci/src/rust_lib.rs +++ b/crates/cuddle-ci/src/rust_lib.rs @@ -22,15 +22,15 @@ pub struct RustLib { } impl RustLib { - pub async fn new(value: dagger_sdk::Query) -> eyre::Result { - Ok(Self { + pub fn new(value: dagger_sdk::Query) -> Self { + Self { client: value, source: None, crates: Vec::new(), arch: None, os: None, base_image: None, - }) + } } pub fn with_source(&mut self, path: impl Into) -> &mut Self {