mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
chore: typo
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: 'Upload search indicies'
|
||||
description: 'Uploads the search indicies to a meilisearch database'
|
||||
name: 'Upload search indices'
|
||||
description: 'Uploads the search indices to a meilisearch database'
|
||||
runs:
|
||||
using: node20
|
||||
main: ../../dist/uploadSearchIndicies/index.js
|
||||
main: ../../dist/uploadSearchIndices/index.js
|
||||
|
||||
@@ -29,7 +29,7 @@ const client = new MeiliSearch({
|
||||
|
||||
try {
|
||||
console.log('Generating all indices...');
|
||||
const indicies = await generateAllIndices({
|
||||
const indices = await generateAllIndices({
|
||||
fetchPackageVersions: async (pkg) => {
|
||||
console.log(`Fetching versions for ${pkg}...`);
|
||||
const { rows } = await sql.execute('select version from documentation where name = ?', [pkg]);
|
||||
@@ -52,7 +52,7 @@ try {
|
||||
console.log('Generated all indices.');
|
||||
|
||||
console.log('Uploading indices...');
|
||||
for (const index of indicies) {
|
||||
for (const index of indices) {
|
||||
console.log(`Uploading ${index.index}...`);
|
||||
await client.index(index.index).addDocuments(index.data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user