Skip to content

Commit 6116844

Browse files
committed
Align optional gem comments in Rakefile
This pleases RuboCop and is also slightly shorter.
1 parent ac4a045 commit 6116844

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

moduleroot/Rakefile.erb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,16 @@ rescue LoadError
77
# only available if gem group test is installed
88
end
99

10-
# load optional tasks for acceptance
11-
# only available if gem group releases is installed
1210
begin
1311
require 'voxpupuli/acceptance/rake'
1412
rescue LoadError
13+
# only available if gem group acceptance is installed
1514
end
1615

17-
# load optional tasks for releases
18-
# only available if gem group releases is installed
1916
begin
2017
require 'voxpupuli/release/rake_tasks'
2118
rescue LoadError
22-
# voxpupuli-release not present
19+
# only available if gem group releases is installed
2320
else
2421
GCGConfig.user = '<%= @configs['config.user'] || @configs[:namespace] %>'
2522
GCGConfig.project = '<%= @configs['config.project'] || @configs[:puppet_module] %>'

0 commit comments

Comments
 (0)