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

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
przemyslawpluta committed Apr 7, 2014
1 parent 6c5187e commit 540ee03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/youtube-dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ ytdl.getFormats = function(url, options, callback) {

data.map(function(line) {
var result = formatsRegex.exec(line);
if (line.test(/\[info\]/)) { status = line.split(' ')[4].slice(0, -1); }
if (/\[info\]/.test(line)) { status = line.split(' ')[4].slice(0, -1); }
if (result) {
formats.push({
id : status,
Expand Down

0 comments on commit 540ee03

Please sign in to comment.