mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-21 11:24:53 +02:00
Remove fluent-ffmpeg dependency
This commit is contained in:
parent
8562b8d1b3
commit
b61ecefce4
35 changed files with 4405 additions and 50 deletions
|
@ -1,5 +1,10 @@
|
|||
'use strict'
|
||||
|
||||
//
|
||||
// used by fsExtra
|
||||
// Source: https://github.com/RyanZim/universalify
|
||||
//
|
||||
|
||||
exports.fromCallback = function (fn) {
|
||||
return Object.defineProperty(function (...args) {
|
||||
if (typeof args[args.length - 1] === 'function') fn.apply(this, args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue