mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-11-12 21:12:44 -05:00
fix: Remove check empty file for edit tool
This commit is contained in:
@ -701,14 +701,6 @@ bool ChangesManager::performFragmentReplacement(
|
||||
bool isUndo)
|
||||
{
|
||||
QString currentContent = readFileContent(filePath);
|
||||
if (currentContent.isNull()) {
|
||||
if (errorMsg) {
|
||||
*errorMsg = "Failed to read current file content";
|
||||
}
|
||||
LOG_MESSAGE(QString("Failed to read file for fragment replacement: %1").arg(filePath));
|
||||
return false;
|
||||
}
|
||||
|
||||
QString resultContent;
|
||||
|
||||
if (isAppendOperation) {
|
||||
|
||||
Reference in New Issue
Block a user