mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-11-07 16:44:16 +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('error', err => reject(err))
|
||||
proc.on('close', () => {
|
||||
try {
|
||||
let result = JSON.parse(probeData.join(''))
|
||||
resolve(result);
|
||||
} catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
})
|
||||
try {
|
||||
let result = JSON.parse(probeData.join(''))
|
||||
resolve(result);
|
||||
} catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user