fix(extension): converted_code 镜像保留嵌套结构(与 raw_code 落盘一致)
This commit is contained in:
@@ -420,8 +420,9 @@ class ExtensionStore:
|
||||
dest.parent.mkdir(parents=True, exist_ok=True)
|
||||
dest.write_bytes(blob)
|
||||
saved_code.append(str(dest.relative_to(ext_dir)))
|
||||
mirror = converted_code / dest.name
|
||||
mirror.write_bytes(blob) # converted_code 初始 = raw_code 拷贝(175 同款)
|
||||
mirror = converted_code / dest.relative_to(raw_code)
|
||||
mirror.parent.mkdir(parents=True, exist_ok=True)
|
||||
mirror.write_bytes(blob) # converted_code 初始 = raw_code 拷贝(175 同款;2026-09-15 修复:保留嵌套结构)
|
||||
saved_data: list[str] = []
|
||||
for rel, blob in data_files or []:
|
||||
dest = raw_test_data / safe_filename(rel)
|
||||
|
||||
Reference in New Issue
Block a user