fix: cleanup not available on development env
This commit is contained in:
parent
b7fc13efb7
commit
bc25b28a4e
2 changed files with 3 additions and 3 deletions
|
|
@ -98,7 +98,7 @@ export class ImportNotesProcessorService {
|
|||
return;
|
||||
}
|
||||
|
||||
const type = job.data.type ?? '';
|
||||
const type = job.data.type;
|
||||
|
||||
if (type === 'Twitter' || file.name.startsWith('twitter') && file.name.endsWith('.zip')) {
|
||||
const [path, cleanup] = await createTempDir();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue