lib/bolt/module_installer/specs/git_spec.rb in bolt-3.1.0 vs lib/bolt/module_installer/specs/git_spec.rb in bolt-3.3.0
- old
+ new
@@ -47,11 +47,11 @@
return unless name
unless (match = name.match(NAME_REGEX))
raise Bolt::ValidationError,
"Invalid name for Git module specification: #{name}. Name must match "\
- "'name' or 'owner/name'. Owner segment may only include letters or digits. "\
- "Name segment must start with a lowercase letter and may only include "\
+ "'name' or 'owner/name'. Owner segment can only include letters or digits. "\
+ "Name segment must start with a lowercase letter and can only include "\
"lowercase letters, digits, and underscores."
end
match[:name]
end