From ade28476318b64d319a16dcc946ec2ad722321f3 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Fri, 15 Sep 2023 16:28:32 -0400 Subject: [PATCH] Fix bun icon path --- .../console/project-[project]/functions/templates/+page.svelte | 2 +- static/icons/dark/color/{bun-sh.svg => bun.svg} | 0 static/icons/dark/grayscale/{bun-sh.svg => bun.svg} | 0 static/icons/light/color/{bun-sh.svg => bun.svg} | 0 static/icons/light/grayscale/{bun-sh.svg => bun.svg} | 0 5 files changed, 1 insertion(+), 1 deletion(-) rename static/icons/dark/color/{bun-sh.svg => bun.svg} (100%) rename static/icons/dark/grayscale/{bun-sh.svg => bun.svg} (100%) rename static/icons/light/color/{bun-sh.svg => bun.svg} (100%) rename static/icons/light/grayscale/{bun-sh.svg => bun.svg} (100%) diff --git a/src/routes/console/project-[project]/functions/templates/+page.svelte b/src/routes/console/project-[project]/functions/templates/+page.svelte index b47dbc888d..110cb04fb6 100644 --- a/src/routes/console/project-[project]/functions/templates/+page.svelte +++ b/src/routes/console/project-[project]/functions/templates/+page.svelte @@ -65,7 +65,7 @@ case runtime.includes('dart'): return 'dart'; case runtime.includes('bun'): - return 'bun-sh'; + return 'bun'; default: return undefined; } diff --git a/static/icons/dark/color/bun-sh.svg b/static/icons/dark/color/bun.svg similarity index 100% rename from static/icons/dark/color/bun-sh.svg rename to static/icons/dark/color/bun.svg diff --git a/static/icons/dark/grayscale/bun-sh.svg b/static/icons/dark/grayscale/bun.svg similarity index 100% rename from static/icons/dark/grayscale/bun-sh.svg rename to static/icons/dark/grayscale/bun.svg diff --git a/static/icons/light/color/bun-sh.svg b/static/icons/light/color/bun.svg similarity index 100% rename from static/icons/light/color/bun-sh.svg rename to static/icons/light/color/bun.svg diff --git a/static/icons/light/grayscale/bun-sh.svg b/static/icons/light/grayscale/bun.svg similarity index 100% rename from static/icons/light/grayscale/bun-sh.svg rename to static/icons/light/grayscale/bun.svg