mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Fix the missing async in setTimeout callback
This commit is contained in:
parent
ed16727ce7
commit
b7fbde0e63
|
|
@ -90,7 +90,7 @@ class DirWatch {
|
|||
|
||||
switch (dirWatch.type) {
|
||||
case 'trunk-recorder': {
|
||||
setTimeout(() => {
|
||||
setTimeout(async () => {
|
||||
const metaFile = path.resolve(file.dir, `${file.name}.json`);
|
||||
|
||||
if (!fs.existsSync(metaFile)) {
|
||||
|
|
@ -123,7 +123,7 @@ class DirWatch {
|
|||
}
|
||||
|
||||
case 'sdrtrunk': {
|
||||
setTimeout(() => {
|
||||
setTimeout(async () => {
|
||||
const metaFile = path.resolve(file.dir, `${file.name}.mbe`);
|
||||
|
||||
if (!fs.existsSync(metaFile)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue