Skip to content

Commit

Permalink
feat: add update files
Browse files Browse the repository at this point in the history
  • Loading branch information
winchesHe committed Jan 15, 2025
1 parent 2404ae8 commit 0f82b39
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
NEXTUI_PLUGIN,
NEXTUI_PREFIX
} from '../../../constants/prefix';
import {getStore, writeFileAndUpdateStore} from '../../store';
import {getStore, updateAffectedFiles, writeFileAndUpdateStore} from '../../store';

export function migrateLeftFiles(files: string[]) {
for (const file of files) {
Expand All @@ -14,5 +14,6 @@ export function migrateLeftFiles(files: string[]) {
.replaceAll(NEXTUI_PLUGIN, HEROUI_PLUGIN);

writeFileAndUpdateStore(file, 'rawContent', replaceContent);
updateAffectedFiles(file);
}
}

0 comments on commit 0f82b39

Please sign in to comment.