Skip to content

Commit d4fbd2c

Browse files
committed
TECH-16946: remove \n since it does not work with say(...)
1 parent 97da4ba commit d4fbd2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/generators/declare_schema/migration/migration_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def migrate
6868
final_migration_name =
6969
name.presence ||
7070
if !options[:default_name]
71-
choose("\nMigration filename (spaces will be converted to _) [#{default_migration_name}]:", /^[a-z0-9_ ]*$/,
71+
choose("Migration filename (spaces will be converted to _) [#{default_migration_name}]:", /^[a-z0-9_ ]*$/,
7272
default_migration_name).strip.gsub(' ', '_').presence
7373
end ||
7474
default_migration_name

0 commit comments

Comments
 (0)