Compare commits

..

1 Commits

Author SHA1 Message Date
AncTe
8484c25112
Merge d749c886e4 into 820dc5bf4c 2025-11-04 05:22:33 +00:00

View File

@ -468,9 +468,9 @@ const apiWriteMultiFiles = async (req: Request, res: Response) => {
} else {
const strArray = status.map((v, i) => {
if (v === APIStatus.PermissionDeny) {
return `Path: ${pathList[i]}: Permission Error: Cannot access file outside current working directory.`;
} else if (v === APIStatus.WriteError) {
return `Path: ${pathList[i]}: Internal Error: Write file error.`;
return `Index: ${i}; Permission Error: Cannot access file outside current working directory`;
} else if (v === APIStatus.Success) {
return `Index: ${i}: Internal Error: Write file error.`;
} else {
return 'Success';
}