Skip to content

Commit 78b0ada

Browse files
committed
refactor: use casing for constant
1 parent add4896 commit 78b0ada

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

astro.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ async function autogenStyles() {
5959
const sidebar = await autogenSections();
6060
const customCss = await autogenStyles();
6161

62-
const runLinkCheck =
62+
const RUN_LINK_CHECK =
6363
process.env.RUN_LINK_CHECK?.toLowerCase() === "true" || false;
6464
const ENABLE_LAST_MOD_IN_SITEMAP =
6565
process.env.ENABLE_LAST_MOD_IN_SITEMAP?.toLowerCase() === "true";
@@ -195,7 +195,7 @@ export default defineConfig({
195195
customCss,
196196
pagination: false,
197197
plugins: [
198-
...(runLinkCheck
198+
...(RUN_LINK_CHECK
199199
? [
200200
starlightLinksValidator({
201201
errorOnInvalidHashes: false,

0 commit comments

Comments
 (0)