mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-13 12:23:34 +01:00
Fix tabs
This commit is contained in:
1 parent
022c506eda
commit
dd0d2e9f55
1 file changed
+7
-7
@@ -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);
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user