summaryrefslogtreecommitdiff
path: root/types/compat/string.pp
diff options
context:
space:
mode:
authorDavid Schmitt <david.schmitt@puppet.com>2016-10-04 13:48:30 +0100
committerGitHub <noreply@github.com>2016-10-04 13:48:30 +0100
commit440f98b45a79528c36c3286de70f5e8a2fe4466a (patch)
tree3222c9b0969de0df0d28b8e423f16440243e11cc /types/compat/string.pp
parent7228160175a17fb3d7f5b464553ef6c7791cf140 (diff)
parentcce67b42bb6d09d4e9773b64e28c07d8a93ed088 (diff)
Merge pull request #662 from domcleal/validate-string-undef
Permit undef passed as `nil` to validate_string
Diffstat (limited to 'types/compat/string.pp')
-rw-r--r--types/compat/string.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/compat/string.pp b/types/compat/string.pp
index 4c36e5f..b06255d 100644
--- a/types/compat/string.pp
+++ b/types/compat/string.pp
@@ -1,2 +1,2 @@
# Emulate the is_string and validate_string functions
-type Stdlib::Compat::String = String
+type Stdlib::Compat::String = Optional[String]