Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
fent committed Nov 20, 2014
1 parent d545f10 commit 1f5e319
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/youtube-dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ fs.exists(file, function(exists) {

var isDebug = /[debug]/;
var isYouTubeRegex = /^(https?:\/\/)?(www\.)?(youtube\.com|youtu\.be)\//;
var isNoSubsRegex = /WARNING: video doesn't have subtitles|no closed captions found/;
var isNoSubsRegex =
/WARNING: video doesn't have subtitles|no closed captions found/;
var subsRegex = /--write-sub|--write-srt|--srt-lang|--all-subs/;

// Check if win.
Expand Down Expand Up @@ -73,8 +74,8 @@ var ytdl = module.exports = function(url, args, options) {
* @param {Function(!Error, String)} callback
*/
ytdl.exec = function (url, args, options, callback) {
return call(url, [], args, options, callback);
}
return call(url, [], args, options, callback);
};


/**
Expand Down

0 comments on commit 1f5e319

Please sign in to comment.