summaryrefslogtreecommitdiff
path: root/.resume/resume.js
diff options
context:
space:
mode:
Diffstat (limited to '.resume/resume.js')
-rw-r--r--.resume/resume.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/.resume/resume.js b/.resume/resume.js
index 385e356..6d6fa6b 100644
--- a/.resume/resume.js
+++ b/.resume/resume.js
@@ -305,6 +305,9 @@ ytdl.getSubs = function(url, options, callback) {
if (options.lang) {
args.push('--sub-lang=' + options.lang);
}
+ if (!options.warrning) {
+ args.push('--no-warnings');
+ }
call(url, args, [], { cwd: options.cwd }, function(err, data) {
if (err) return callback(err);