diff options
author | Florrie <towerofnix@gmail.com> | 2018-07-04 23:44:12 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-07-04 23:44:15 -0300 |
commit | 564998e4a31caac02d020610be3126a6f3b8de7e (patch) | |
tree | 955e47a7eee08cb5c3015a68055897823c865493 /general-util.js | |
parent | fc4a2d3592c6f3587dd0025e1f53bbb46c6ad82d (diff) |
Fix downloading playlists from a URL crashing
Diffstat (limited to 'general-util.js')
-rw-r--r-- | general-util.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/general-util.js b/general-util.js index 7156274..0b9f081 100644 --- a/general-util.js +++ b/general-util.js @@ -1,5 +1,6 @@ const { spawn } = require('child_process') const { promisify } = require('util') +const fetch = require('node-fetch') const fs = require('fs') const npmCommandExists = require('command-exists') |