mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-01 11:36:42 +00:00
Lodash 3 has no omitBy
This commit is contained in:
parent
9ae6b07b74
commit
8771307c39
@ -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 [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user