« get me outta code hell

http-music - Command-line music player + utils (not a server!)
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/downloaders.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/downloaders.js b/src/downloaders.js
index c0e54eb..0e2b1bb 100644
--- a/src/downloaders.js
+++ b/src/downloaders.js
@@ -107,18 +107,6 @@ module.exports = {
   makeLocalDownloader,
   makePowerfulDownloader,
 
-  getDownloaderFor: downloaderType => {
-    if (downloaderType === 'http') {
-      return makeHTTPDownloader()
-    } else if (downloaderType === 'youtube') {
-      return makeYouTubeDownloader()
-    } else if (downloaderType === 'local') {
-      return makeLocalDownloader()
-    } else {
-      return null
-    }
-  },
-
   getDownloaderFor(arg) {
     if (arg.startsWith('http://') || arg.startsWith('https://')) {
       if (arg.includes('youtube.com')) {