Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Commit

Permalink
fix: lowercase image name for replacing in readme.md (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Dec 17, 2023
1 parent 3938f1b commit fa029d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ImageChooser/CreateRepo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit fa029d4

Please sign in to comment.