authorgravatar for julius0216@outlook.comJulius Marminge <julius0216@outlook.com> 2026-04-10 09:47:35-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-04-10 16:47:35+00:00
log2028d57e88f216491df42d4cf948c85a5aa8d7f4
treea749dbbed5b3a6b666ad5e4f3818c988f445b270
parent3405a64dd8fdf3affe14c057692484fffb63b0af
signature Signed by PGP key B5690EEEBB952194

Fix server publish check for bin entrypoint (#1885)


1 files changed, 1 insertions(+), 1 deletions(-)

apps/server/scripts/cli.ts+1-1
......@@ -177,7 +177,7 @@ const publishCmd = Command.make(
177177 const backupPath = `${packageJsonPath}.bak`;
178178
179179 // Assert build assets exist
180 for (const relPath of ["dist/index.mjs", "dist/client/index.html"]) {
180 for (const relPath of ["dist/bin.mjs", "dist/client/index.html"]) {
181181 const abs = path.join(serverDir, relPath);
182182 if (!(yield* fs.exists(abs))) {
183183 return yield* new CliError({