From e8c9ee98851828f597c7e3c3bfcba522dccdae28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Cluseau?= Date: Sun, 25 Jan 2026 21:59:23 +0100 Subject: [PATCH] wow base64 w/ and wo/ padding are incompatible --- src/apply.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apply.rs b/src/apply.rs index 9a97bbc..52fc5a9 100644 --- a/src/apply.rs +++ b/src/apply.rs @@ -16,7 +16,7 @@ pub async fn files(files: &[crate::File], root: &str) -> Result<()> { match &file.kind { K::Content(content) => fs::write(path, content.as_bytes()).await?, K::Content64(content) => { - use base64::prelude::{Engine as _, BASE64_STANDARD as B64}; + use base64::prelude::{Engine as _, BASE64_STANDARD_NO_PAD as B64}; let content = B64.decode(content)?; fs::write(path, content).await? }