mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-09 07:14:52 +02:00
Remove fluent-ffmpeg dependency
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user