style: remove trailing blank lines from refactor files
This commit is contained in:
1 parent
7f16bd6882
commit
388805a8a6
5 files changed
-5
No files matched your search
@@ -79,4 +79,3 @@
|
||||
- [x] Check no dangling old imports/resource paths; verify test discovery and encrypted persistence compatibility using temporary state.
|
||||
- [x] Run full npm test with review NODE_PATH; require zero failures, document official CLI skip honestly.
|
||||
- [x] Update design/plan progress and architecture documentation. Report exact results and untested real-provider limits; retain reviewable attached checkout.
|
||||
|
||||
@@ -165,4 +165,3 @@ tests/
|
||||
最新已运行基线:182 项,180 通过、1 失败、1 跳过。失败为本机代码页 1252 下中文快捷方式路径转换,本次必须修复;跳过为未配置真实官方 CLI 路径的 ZCode 协议夹具,保留明确说明。缺失的五项依赖在临时目录补齐,通过测试子进程 NODE_PATH 使用,不改实际运行依赖。
|
||||
|
||||
验收要求:项目已按上述模块组织;混合职责已实际拆开;启动、资源路径、原公开 API、持久数据和加密身份兼容;七项问题均有针对性验证,中文路径基线失败已修复;全量测试无失败;源码中不残留悬空的旧内部导入。正式服务与业务数据保持未操作。
|
||||
|
||||
@@ -80,4 +80,3 @@ class SmbClient{
|
||||
async area(server){if(server.authMode!=='windows')await native.connect(server);const boundary=path.win32.join('\\\\'+server.host,server.share),root=path.win32.join(boundary,...segments(server.directory));return new FileArea(root,{boundary});}
|
||||
}
|
||||
module.exports={FileArea,SmbClient,segments,inside,MAX_FILE};
|
||||
|
||||
@@ -93,4 +93,3 @@ class StorageService{
|
||||
async stop(){this.stopped=true;for(const controller of this.operationControllers)controller.abort(fail('存储服务正在停止。',503));for(const controller of this.probeControllers)controller.abort(fail('存储服务正在停止。',503));await Promise.allSettled([...this.running.values(),...this.pendingChecks]);}
|
||||
}
|
||||
module.exports={StorageService};
|
||||
|
||||
@@ -10,4 +10,3 @@ process.once('message',async ({server,operation,args})=>{
|
||||
try{const {FileArea}=require('../../src/modules/storage/files.cjs');const value=await new FileArea(server.root)[operation](...args);process.send({ok:true,value},()=>process.exit());}
|
||||
catch(e){process.send({ok:false,status:e.status||502},()=>process.exit());}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user