diff options
Diffstat (limited to 'lib/puppet/module.rb')
-rw-r--r-- | lib/puppet/module.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/puppet/module.rb b/lib/puppet/module.rb index 611cbdd4b..821cca924 100644 --- a/lib/puppet/module.rb +++ b/lib/puppet/module.rb @@ -158,9 +158,7 @@ class Puppet::Module def to_s result = "Module #{name}" - if path - result += "(#{path})" - end + result += "(#{path})" if path result end |