From 1be4ff8d63a94004a909d88857dcedb3e48c8da0 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Fri, 24 Apr 2020 14:36:20 +0100 Subject: [PATCH] . --- .drone.star | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.drone.star b/.drone.star index 9618e1d..78d6ea1 100644 --- a/.drone.star +++ b/.drone.star @@ -6,6 +6,8 @@ def environment(env): return dict( [(x.replace("-", "_").upper(), fromSecret(x)) for x in env] ) +def map(fn, list): + [fn(x) for x in list] def identity(x): x def printSecrets(env): envv = map(env, identity)