mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-04 04:54:10 +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)
|
utils.extendEnvVars(app.environment_variable, uuid)
|
||||||
.then (fullEnv) ->
|
.then (fullEnv) ->
|
||||||
env = _.omit(fullEnv, _.keys(specialActionEnvVars))
|
env = _.omit(fullEnv, _.keys(specialActionEnvVars))
|
||||||
env = _.omitBy env, (v, k) ->
|
env = _.omit env, (v, k) ->
|
||||||
_.startsWith(k, device.hostConfigEnvVarPrefix)
|
_.startsWith(k, device.hostConfigEnvVarPrefix)
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user