Skip to content

Commit e950ccc

Browse files
committed
Change code style. sgruhier#104
1 parent 70e0209 commit e950ccc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/capistrano-db-tasks/database.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ def load(file, cleanup)
144144
private
145145

146146
def db_dump_file_path
147-
"#{db_dump_dir}/#{output_file}"
147+
File.join(db_dump_dir, output_file)
148148
end
149149

150150
def db_dump_dir
151-
@cap.fetch(:db_dump_dir) || "#{@cap.current_path}/db"
151+
@cap.fetch(:db_dump_dir, File.join(@cap.current_path, 'db'))
152152
end
153153
end
154154

0 commit comments

Comments
 (0)