From 1a09e6ce31f83181cd56c512337ce036c65f94ec Mon Sep 17 00:00:00 2001 From: "wade@bindshell.net" Date: Fri, 17 Dec 2010 09:10:20 +0000 Subject: [PATCH] minor code formatting change git-svn-id: https://beef.googlecode.com/svn/trunk@615 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- lib/migration.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}"