From 8771307c392aa9742756c30281a02836b95c9bd8 Mon Sep 17 00:00:00 2001 From: Pablo Carranza Velez Date: Wed, 23 Mar 2016 16:48:23 -0300 Subject: [PATCH] Lodash 3 has no omitBy --- src/application.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application.coffee b/src/application.coffee index 0ded9a0f..0c029026 100644 --- a/src/application.coffee +++ b/src/application.coffee @@ -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 [ {