Skip to content

Commit

Permalink
make sure flat an array to fix #9
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Oct 17, 2012
1 parent 879f924 commit ffb07f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/motion/project/testflight.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def create_launcher
if !File.exist?(launcher_file) or File.read(launcher_file) != launcher_code
File.open(launcher_file, 'w') { |io| io.write(launcher_code) }
end
files = @config.files
files = @config.files.flatten
files << launcher_file unless files.find { |x| File.expand_path(x) == File.expand_path(launcher_file) }
end
end
Expand Down

0 comments on commit ffb07f2

Please sign in to comment.