diff --git a/app/lib/stores/files.ts b/app/lib/stores/files.ts index 687b8037..60904a65 100644 --- a/app/lib/stores/files.ts +++ b/app/lib/stores/files.ts @@ -115,7 +115,7 @@ export class FilesStore { const oldContent = this.getFile(filePath)?.content; - if (!oldContent) { + if (!oldContent && oldContent !== '') { unreachable('Expected content to be defined'); }