allow overriding pylint

pull/467/head
nightwing 2017-11-08 01:54:13 +04:00
rodzic 1aff2f8d57
commit f6959168cc
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -209,7 +209,7 @@ module.exports = {
options.env = options.env || {};
var PATH = options.env.PATH || this.defaultEnv && this.defaultEnv.PATH || process.env.PATH;
options.env.PATH = process.platform === "linux"
? "/mnt/shared/bin:" + PATH
? PATH + ":/mnt/shared/bin"
: PATH;
for (var key in process.env) {
options.env[key] = options.env[key] != null ? options.env[key] : process.env[key];