Skip to content

Commit fd40799

Browse files
committed
chore: fix docs search generation for 8.x release
1 parent 7f935cf commit fd40799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generateSearch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ async function run() {
134134
await Content.deleteMany({ version });
135135
let count = 0;
136136
for (const content of contents) {
137-
if (version === '7.x') {
137+
if (version === '8.x') {
138138
let url = content.url.startsWith('/') ? content.url : `/${content.url}`;
139139
if (!url.startsWith('/docs')) {
140140
url = '/docs' + url;

0 commit comments

Comments
 (0)