Merge branch 'master' of http://82.157.175.59:3000/GenarrativeAI/Genarrative
This commit is contained in:
@@ -180,9 +180,9 @@ function run(command, commandArgs) {
|
||||
|
||||
if (code === 0) {
|
||||
if (output.includes('Could not format generated files')) {
|
||||
console.warn(
|
||||
`[spacetime:generate] ${command} 已生成 bindings,但 formatter 受限未执行;继续同步生成文件。`,
|
||||
);
|
||||
// 中文注释:Windows 下 Rust 绑定文件很多时,SpacetimeDB CLI 可能已生成成功但 rustfmt 启动失败。
|
||||
// 这里保留后续文件数量校验,避免把格式化警告误判成绑定生成失败。
|
||||
console.warn(`[spacetime:generate] ${command} 生成后格式化失败,继续校验并同步生成文件。`);
|
||||
}
|
||||
resolve();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user