mirror of
https://github.com/motajs/template.git
synced 2026-11-01 06:04:30 +08:00
feat: 将 HumanBreak 新内容移植入该样板
This commit is contained in:
1 parent
6bf32174d8
commit
bea2725d6a
128 files changed
+11984
-573
No files matched your search
+3
-3
@@ -468,9 +468,9 @@ const apiWriteMultiFiles = async (req: Request, res: Response) => {
|
||||
} else {
|
||||
const strArray = status.map((v, i) => {
|
||||
if (v === APIStatus.PermissionDeny) {
|
||||
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.`;
|
||||
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.`;
|
||||
} else {
|
||||
return 'Success';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user