Replace env argument with npm_config_argument

This commit is contained in:
freearhey 2019-07-07 04:26:05 +03:00
parent 09bba33e98
commit 3ed93ac481
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ function writeToLog(test, country, msg, url) {
}
function skipPlaylist(filename) {
let test_country = process.env.TEST_COUNTRY
let test_country = process.env.npm_config_country
if (test_country && filename !== 'channels/' + test_country + '.m3u') {
return true;
}