File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -635,6 +635,12 @@ export const edit = async ({
635
635
break ;
636
636
}
637
637
638
+ const current = {
639
+ vertexes : dependencyGraph . vertexes ,
640
+ files : fileService . eject ( ) ,
641
+ fileNames : fileService . getFileNames ( ) ,
642
+ } ;
643
+
638
644
const next = first
639
645
. map ( ( v ) => {
640
646
// if the file is not in the file service, it means it has been deleted in a previous iteration
@@ -644,9 +650,9 @@ export const edit = async ({
644
650
645
651
const result = processFile ( {
646
652
targetFile : v . file ,
647
- vertexes : dependencyGraph . eject ( ) ,
648
- files : fileService . eject ( ) ,
649
- fileNames : fileService . getFileNames ( ) ,
653
+ vertexes : current . vertexes ,
654
+ files : current . files ,
655
+ fileNames : current . fileNames ,
650
656
deleteUnusedFile,
651
657
enableCodeFix,
652
658
options,
You can’t perform that action at this time.
0 commit comments