fix: 修复生成api时,缺失main.ts的问题
This commit is contained in:
parent
11ef4dfba6
commit
079004c17d
|
@ -304,7 +304,7 @@ async function generateSignalRClient(): Promise<void> {
|
||||||
console.log("Generating SignalR TypeScript client...");
|
console.log("Generating SignalR TypeScript client...");
|
||||||
try {
|
try {
|
||||||
const { stdout, stderr } = await execAsync(
|
const { stdout, stderr } = await execAsync(
|
||||||
"dotnet tsrts --project ./server/server.csproj --output ./src/",
|
"dotnet tsrts --project ./server/server.csproj --output ./src/utils/signalR",
|
||||||
);
|
);
|
||||||
if (stdout) console.log(stdout);
|
if (stdout) console.log(stdout);
|
||||||
if (stderr) console.error(stderr);
|
if (stderr) console.error(stderr);
|
||||||
|
|
Loading…
Reference in New Issue