From 86e42f7a7ec5cf27e2186d111017fe7943acd079 Mon Sep 17 00:00:00 2001 From: Florrie Date: Sun, 18 Feb 2018 19:44:29 -0400 Subject: Let 'source' property simply open a file --- src/general-util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/general-util.js') diff --git a/src/general-util.js b/src/general-util.js index 63ef1b2..825dd90 100644 --- a/src/general-util.js +++ b/src/general-util.js @@ -26,7 +26,7 @@ function downloadPlaylistFromURL(url) { } function downloadPlaylistFromLocalPath(path) { - return readFile(path) + return readFile(path).then(buf => buf.toString()) } module.exports.downloadPlaylistFromOptionValue = function(arg) { -- cgit 1.3.0-6-gf8a5