diff --git a/lib/migration.rb b/lib/migration.rb index 5fd8ebd21..0f0e42cb4 100644 --- a/lib/migration.rb +++ b/lib/migration.rb @@ -23,7 +23,9 @@ class Migration def update_commands! db_commands = [], folders = '' - BeEF::Models::CommandModule.all.each {|db_command| db_commands.push(db_command.path)} + BeEF::Models::CommandModule.all.each {|db_command| + db_commands.push(db_command.path) + } Dir.foreach("#{$root_dir}/modules/commands/") do |folder| folders += "#{folder}|" if not ['.', '..'].include? folder and File.directory? "#{$root_dir}/modules/commands/#{folder}"