File tree 1 file changed +2
-2
lines changed
src/runtime/internal/studio
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export function mergeDraft(dbFiles: DraftSyncFile[] = [], draftAdditions: DraftF
27
27
// Compute file name
28
28
const mergedFiles : DraftSyncFile [ ] = JSON . parse ( JSON . stringify ( dbFiles ) )
29
29
30
- // Merge darft additions
30
+ // Merge draft additions
31
31
for ( const addition of additions ) {
32
32
// File is new
33
33
if ( addition . new ) {
@@ -42,7 +42,7 @@ export function mergeDraft(dbFiles: DraftSyncFile[] = [], draftAdditions: DraftF
42
42
const oldPathExistInCache = additions . find ( a => a . path === addition . oldPath )
43
43
if ( oldPathExistInCache ) {
44
44
mergedFiles . push ( { path : addition . path , parsed : addition . parsed } )
45
- // Update exsiting renamed file data
45
+ // Update existing renamed file data
46
46
}
47
47
else {
48
48
const file = mergedFiles . find ( f => f . path === addition . oldPath )
You can’t perform that action at this time.
0 commit comments