fix(git): Löschen-Commit mit -z, G01 beim Löschen mit eigenem Text (Review PR #24)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
69cfb364ae
commit
b59a5627e0
4 files changed
+25
-4
No files matched your search
@@ -482,7 +482,7 @@ export const createGitService = ({ cfg, getStorage, api, splitTextStyleAndMetada
|
||||
} catch (err) {
|
||||
release?.();
|
||||
if(!(err instanceof GitError)) { logGit('Löschen', err); err = new GitError('G05', 'Löschen im Repository fehlgeschlagen.'); } else if(err.HBErrorCode !== 'G01') logGit(`Löschen von ${brew.editId}`, err);
|
||||
res.status(err.status).json(err.toBody());
|
||||
res.status(err.status).json({ ...err.toBody(), operation: 'delete' });
|
||||
return null;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user