From 5bbda44b5765deb3d3e979c08ba0f53447654d30 Mon Sep 17 00:00:00 2001 From: Emmie Maeda Date: Sun, 1 Dec 2024 01:48:56 -0500 Subject: [PATCH] Quote trimmed filename. --- deepwell/src/services/file/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepwell/src/services/file/service.rs b/deepwell/src/services/file/service.rs index 9de5217ad5..30185e0537 100644 --- a/deepwell/src/services/file/service.rs +++ b/deepwell/src/services/file/service.rs @@ -787,7 +787,7 @@ impl FileService { fn check_file_name(name: &mut String) -> Result<()> { // Removes leading or trailing whitespace regex_replace_in_place(name, &LEADING_TRAILING_SPACES, ""); - debug!("Trimmed file name: {name}"); + debug!("Trimmed file name: '{name}'"); // Disallow empty filenames if name.is_empty() {