From fa029d4e190a330ddba4d70c94ea9e1e38a953bb Mon Sep 17 00:00:00 2001 From: xynydev Date: Sun, 17 Dec 2023 20:18:58 +0200 Subject: [PATCH] fix: lowercase image name for replacing in readme.md (#12) --- src/components/ImageChooser/CreateRepo.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ImageChooser/CreateRepo.svelte b/src/components/ImageChooser/CreateRepo.svelte index 826aec5..ca6dd05 100644 --- a/src/components/ImageChooser/CreateRepo.svelte +++ b/src/components/ImageChooser/CreateRepo.svelte @@ -174,7 +174,7 @@ log += "README got successfully! \n"; } let readme = String(atob(readmeJson.content)); - readme = readme.replaceAll("ublue-os/startingpoint", custom.repo); + readme = readme.replaceAll("ublue-os/startingpoint", custom.repo?.toLowerCase()); const readmeLines = readme.split("\n"); readmeLines[0] = `# ${custom.name}`; readme = readmeLines.join("\n");