footer links changed, === in config/io
This commit is contained in:
parent
e0a2fb0256
commit
a5c4272469
2 changed files with 5 additions and 3 deletions
|
@ -33,8 +33,10 @@ async function readSubdir(subdir: string): Promise<dirData[]> {
|
|||
async function generateTypeData(): Promise<RouteData[]> {
|
||||
const mainDir = import.meta.env.SECRET_MODULES_PATH;
|
||||
|
||||
if (!mainDir || mainDir == "") {
|
||||
throw new Error("Cannot generate types, missing SECRET_MODULES_PATH");
|
||||
if (!mainDir || mainDir === "") {
|
||||
throw new Error(
|
||||
"Cannot generate types, missing SECRET_MODULES_PATH"
|
||||
);
|
||||
}
|
||||
|
||||
const subdirs = await fs.readdir(mainDir, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue