Skip to content

Commit

Permalink
fix: index.json lost
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed Nov 7, 2024
1 parent e01178a commit a6e16cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class Builder {
const agentsIndex = { ...meta, agents };

const indexFileName = getBuildLocaleAgentFileName("index", locale);
writeJSONSync(resolve(publicDir, indexFileName), agentsIndex);
writeJSONSync(resolve(publicAgentDir, indexFileName), agentsIndex);
consola.success(`build ${locale}`);
}
};
Expand Down

0 comments on commit a6e16cd

Please sign in to comment.