mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
add logs for transfer
This commit is contained in:
parent
8723107f1d
commit
6a119e1246
1 changed files with 5 additions and 1 deletions
|
|
@ -827,12 +827,16 @@ export const OneClickSwitchButton = ({ fromEditor = 'VS Code', className = '' }:
|
|||
'rooveterinaryinc.roo-cline', // roo
|
||||
];
|
||||
for (const { from, to } of transferTheseFiles) {
|
||||
console.log('Transferring...', from)
|
||||
try {
|
||||
// find a blacklisted item
|
||||
const isBlacklisted = extensionBlacklist.find(blacklistItem => {
|
||||
return from.fsPath?.includes(blacklistItem)
|
||||
})
|
||||
if (isBlacklisted) continue
|
||||
if (isBlacklisted) {
|
||||
console.log(`Skipping conflicting item (${isBlacklisted})`)
|
||||
continue
|
||||
}
|
||||
|
||||
} catch { }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue