mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Fix tabs
This commit is contained in:
parent
022c506eda
commit
dd0d2e9f55
@ -21,13 +21,13 @@ module.exports = (function () {
|
|||||||
proc.on('exit', code => { exitCode = code })
|
proc.on('exit', code => { exitCode = code })
|
||||||
proc.on('error', err => reject(err))
|
proc.on('error', err => reject(err))
|
||||||
proc.on('close', () => {
|
proc.on('close', () => {
|
||||||
try {
|
try {
|
||||||
let result = JSON.parse(probeData.join(''))
|
let result = JSON.parse(probeData.join(''))
|
||||||
resolve(result);
|
resolve(result);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
reject(err);
|
reject(err);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user