Skip to content

Commit

Permalink
error ga kieta ppoi
Browse files Browse the repository at this point in the history
  • Loading branch information
sawaday authored and yucao24hours committed Oct 17, 2015
1 parent 7d471b1 commit 6cdbaf1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/change_directory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@

# # 既存のフォルダに移動する
Dir.chdir(dir)
puts dir

# # フォルダにあるすべてのファイルのファイル名を配列で取得する
files = Dir.glob("*")

FileUtils.cp(files, dest)
dest2 = '../' + dest

FileUtils.cp(files, dest2)
# # reportsのフォルダに移動する
Dir.chdir('..')

Expand Down

0 comments on commit 6cdbaf1

Please sign in to comment.