Skip to content

Commit

Permalink
include a newline when writing gemfile.local.rb
Browse files Browse the repository at this point in the history
Fixes: b63d262
  • Loading branch information
evgeni committed Jan 23, 2024
1 parent b63d262 commit 77852d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theforeman.org/pipelines/lib/foreman.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def databaseFile(id) {
}

def addGem() {
writeFile(text: "gemspec :path => '../', :development_group => :dev", file: 'bundler.d/Gemfile.local.rb')
writeFile(text: "gemspec :path => '../', :development_group => :dev\n", file: 'bundler.d/Gemfile.local.rb')
if(fileExists('../gemfile.d/')) {
sh "cat ../gemfile.d/*.rb >> bundler.d/Gemfile.local.rb"
}
Expand Down

0 comments on commit 77852d1

Please sign in to comment.