fix:recently edited files change ignore bug
function shouldIgnore return promise,if dont await,nothing can set in recentlyEditedFilesCache
This commit is contained in:
parent
87ad955b3b
commit
a0d9d6307f
1 changed files with 1 additions and 1 deletions
|
|
@ -642,7 +642,7 @@ export class Core {
|
|||
|
||||
on("didChangeActiveTextEditor", async ({ data: { filepath } }) => {
|
||||
try {
|
||||
const ignore = shouldIgnore(filepath, this.ide);
|
||||
const ignore = await shouldIgnore(filepath, this.ide);
|
||||
if (!ignore) {
|
||||
recentlyEditedFilesCache.set(filepath, filepath);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue