From 4b2e22c86703d0b6c04bf95bccec4b732fc7dd18 Mon Sep 17 00:00:00 2001 From: Pierre Jacquier Date: Wed, 12 Feb 2025 15:19:29 -0500 Subject: [PATCH] Lint --- src/env.ts | 4 +++- src/lib/constants.ts | 5 ++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/env.ts b/src/env.ts index e52c1d72f..3ffee62be 100644 --- a/src/env.ts +++ b/src/env.ts @@ -15,7 +15,9 @@ export const VITE_KC_SKIP_AUTH = env.VITE_KC_SKIP_AUTH as string | undefined export const VITE_KC_CONNECTION_TIMEOUT_MS = env.VITE_KC_CONNECTION_TIMEOUT_MS as string | undefined export const VITE_KC_DEV_TOKEN = env.VITE_KC_DEV_TOKEN as string | undefined -export const VITE_KC_KCL_SAMPLES_REF = env.VITE_KC_KCL_SAMPLES_REF as string | undefined +export const VITE_KC_KCL_SAMPLES_REF = env.VITE_KC_KCL_SAMPLES_REF as + | string + | undefined export const PROD = env.PROD as string | undefined export const TEST = env.TEST as string | undefined export const DEV = env.DEV as string | undefined diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 11cade2c1..804a0b3e8 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -1,4 +1,4 @@ -import { VITE_KC_KCL_SAMPLES_REF } from "env" +import { VITE_KC_KCL_SAMPLES_REF } from 'env' export const APP_NAME = 'Modeling App' /** Search string in new project names to increment as an index */ @@ -107,8 +107,7 @@ export const MAKE_TOAST_MESSAGES = { /** The URL for the KCL samples manifest files */ export const KCL_SAMPLES_MANIFEST_URLS = { - remote: - `https://raw.githubusercontent.com/KittyCAD/kcl-samples/${VITE_KC_KCL_SAMPLES_REF}/manifest.json`, + remote: `https://raw.githubusercontent.com/KittyCAD/kcl-samples/${VITE_KC_KCL_SAMPLES_REF}/manifest.json`, localFallback: '/kcl-samples-manifest-fallback.json', } as const