feat: fix errors
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2024-11-16 16:09:07 +01:00
parent 66efb97120
commit c8f56874d0
10 changed files with 25 additions and 46 deletions

View File

@@ -18,7 +18,7 @@ pub struct DroneTemplater {
impl DroneTemplater {
pub fn new(client: dagger_sdk::Query, template: impl Into<PathBuf>) -> Self {
Self {
client: client.pipeline("drone-templater"),
client,
template: template.into(),
variables: BTreeMap::default(),
}
@@ -56,7 +56,7 @@ impl MainAction for DroneTemplater {
let template_name = self.template.display().to_string();
let mut cmd = vec!["drone-templater", "upload", "--template", &template_name]
let cmd = vec!["drone-templater", "upload", "--template", &template_name]
.into_iter()
.map(|v| v.to_string())
.chain(