mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 16:33:01 -06:00
Unnecessary code removal
This commit is contained in:
parent
ff28f74a8a
commit
ae78cab60c
|
|
@ -124,10 +124,6 @@ class DirWatch {
|
||||||
const audioFile = path.resolve(file.dir, `${file.name}.${dirWatch.extension}`);
|
const audioFile = path.resolve(file.dir, `${file.name}.${dirWatch.extension}`);
|
||||||
|
|
||||||
if (this.exists(audioFile)) {
|
if (this.exists(audioFile)) {
|
||||||
if (dirWatch.mask) {
|
|
||||||
this.parseMask(dirWatch.mask, filename);
|
|
||||||
}
|
|
||||||
|
|
||||||
const audio = this.readFile(audioFile);
|
const audio = this.readFile(audioFile);
|
||||||
|
|
||||||
const audioName = file.base;
|
const audioName = file.base;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue