Skip to content

Commit

Permalink
Don't generate database config for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWayfer committed Nov 19, 2020
1 parent c9eaf59 commit f60782a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion spec/flame/cli/new/app_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,14 @@
)

Dir['config/**/*.example.{yaml,conf}'].each do |config_example_file_name|
FileUtils.cp config_example_file_name, config_example_file_name.sub('.example', '')
## https://cirrus-ci.com/task/4975995981660160
if File.basename(config_example_file_name, '.*') == "database#{ExampleFile::SUFFIX}"
next
end

FileUtils.cp(
config_example_file_name, config_example_file_name.sub(ExampleFile::SUFFIX, '')
)
end

## HACK for testing while some server is running
Expand Down

0 comments on commit f60782a

Please sign in to comment.