Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BigTeri committed Dec 19, 2016
1 parent 5b3eb6b commit 747354c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function isInCountryList(geo, list) {
const playlists = [];
const playlist = (_commander2.default.youtubeItems || []).map(item => mapYouTubeList(item));

if (playlist) {
if (playlist.length) {
playlists.push(playlist);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jscast",
"version": "0.3.3",
"version": "0.3.4",
"description": "A SHOUTcast Server/Library written in JavaScript",
"author": "BigTeri",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function isInCountryList(geo, list) {
const playlists = [];
const playlist = (program.youtubeItems || []).map((item) => mapYouTubeList(item));

if (playlist) {
if (playlist.length) {
playlists.push(playlist);
}

Expand Down

0 comments on commit 747354c

Please sign in to comment.