Lodash 3 has no omitBy

This commit is contained in:
Pablo Carranza Velez 2016-03-23 16:48:23 -03:00
parent 9ae6b07b74
commit 8771307c39

View File

@ -472,7 +472,7 @@ getEnvAndFormatRemoteApps = (deviceId, remoteApps, uuid, apiKey) ->
utils.extendEnvVars(app.environment_variable, uuid)
.then (fullEnv) ->
env = _.omit(fullEnv, _.keys(specialActionEnvVars))
env = _.omitBy env, (v, k) ->
env = _.omit env, (v, k) ->
_.startsWith(k, device.hostConfigEnvVarPrefix)
return [
{