From ed805a9a0f15935c3ecda970522abfb5f42829f6 Mon Sep 17 00:00:00 2001
From: loicbersier <loic.bersier1@gmail.com>
Date: Thu, 16 Jul 2020 09:22:54 +0200
Subject: [PATCH] Added a comment

---
 utils/compress.js | 2 +-
 utils/download.js | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/utils/compress.js b/utils/compress.js
index be17c9d8..efaa7285 100644
--- a/utils/compress.js
+++ b/utils/compress.js
@@ -1,6 +1,6 @@
 const hbjs = require('handbrake-js');
 const events = require('events');
-
+// Compress submitted video
 module.exports = function(input, output) {
 	let eventEmitter = new events.EventEmitter();
 
diff --git a/utils/download.js b/utils/download.js
index 7c1855ce..d4643488 100644
--- a/utils/download.js
+++ b/utils/download.js
@@ -1,7 +1,7 @@
 const fs = require('fs');
 const events = require('events');
 const youtubedl = require('youtube-dl');
-
+// Download submitted video
 module.exports = function (url, option, output) {
 	let eventEmitter = new events.EventEmitter();
 
@@ -23,6 +23,7 @@ module.exports = function (url, option, output) {
 	video.on('end', function() {
 		eventEmitter.emit('end', output);
 	});
+
 	return eventEmitter;
 };