Replace env argument with npm_config_argument
This commit is contained in:
parent
09bba33e98
commit
3ed93ac481
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue