mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
chore: update format script
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { algoliasearch } from 'algoliasearch';
|
||||
/**
|
||||
* Generate algolia records.
|
||||
* @params -t for test.
|
||||
@ -5,7 +6,6 @@
|
||||
*/
|
||||
/* @ts-check */
|
||||
import { config } from 'dotenv';
|
||||
import { algoliasearch } from 'algoliasearch';
|
||||
// import { liteClient } from 'algoliasearch/lite';
|
||||
import generateGists from './gists/index.mjs';
|
||||
import postLists from './posts/index.mjs';
|
||||
|
@ -1,6 +1,6 @@
|
||||
import path from 'path';
|
||||
/* @ts-check */
|
||||
import fs from 'fs/promises';
|
||||
import path from 'path';
|
||||
|
||||
const dataPath = 'content/posts';
|
||||
|
||||
|
Reference in New Issue
Block a user