Skip to content

Commit bdf14f5

Browse files
authored
Merge pull request #1342 from alexjfisher/deferrable_epp_fix
Allow `deferrable_epp` to return a `Sensitive[String]`
2 parents f8845d3 + 0506dde commit bdf14f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/deferrable_epp.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# use facts, class variables, and other variables in scope. This is because when deferred, we
66
# have to explicitly pass the entire scope to the client.
77
#
8-
function stdlib::deferrable_epp(String $template, Hash $variables) >> Variant[String, Deferred] {
8+
function stdlib::deferrable_epp(String $template, Hash $variables) >> Variant[String, Sensitive[String], Deferred] {
99
if $variables.any |$key, $value| { $value.is_a(Deferred) } {
1010
Deferred(
1111
'inline_epp',

0 commit comments

Comments
 (0)