Replace env argument with npm_config_argument

what-a-patch-1
freearhey 6 years ago
parent 5f4f6e0660
commit d06dfaa14c

@ -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…
Cancel
Save