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)