Skip to content

Commit 934c57d

Browse files
committed
try and log different information
1 parent d3a5314 commit 934c57d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build": "rescript build && react-router build",
1818
"test": "node scripts/test-examples.mjs && node scripts/test-hrefs.mjs",
1919
"reanalyze": "reanalyze -all-cmt .",
20-
"update-index": "npm run generate-llms && node scripts/generate_feed.mjs > public/blog/feed.xml",
20+
"update-index": "npm run generate-llms && && node scripts/generate_feed.mjs > public/blog/feed.xml",
2121
"sync-bundles": "node scripts/sync-playground-bundles.mjs",
2222
"generate-llms": "node scripts/generate_llms.mjs",
2323
"format": "prettier . --write --experimental-cli && rescript format",
@@ -83,4 +83,4 @@
8383
"vite-plugin-devtools-json": "^1.0.0",
8484
"vite-plugin-env-compatible": "^2.0.1"
8585
}
86-
}
86+
}

src/Mdx.res

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ let remarkLinkPlugin = (tree, vfile) => {
131131
let url = node["url"]
132132
let filePath =
133133
vfile["history"][0]->Option.getOrThrow(
134-
~message=`File path not found for vfile: ${JSON.stringifyAny(vfile)->Option.getOr(
135-
"unknown file",
136-
)}`,
134+
~message=`File path not found for vfile: ${node["url"]}`,
137135
)
138136

139137
// Direct links to the homepage are OK

0 commit comments

Comments
 (0)