Permalink
Browse files

Fix compaction/uniqueness by assigning the result of map/compact/uniq…

… to original variable.
  • Loading branch information...
1 parent e5a5cae commit 3b4b364ef9f73246cea45a04f2cb64c54059f83f @rolftimmermans rolftimmermans committed Jul 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/spin
View
2 bin/spin
@@ -214,7 +214,7 @@ def push
# bit will just be ignored.
#
# We build a string like `file1.rb|file2.rb` and pass it up to the server.
- files_to_load.map! do |file|
+ files_to_load = files_to_load.map do |file|
args = file.split(':')
file_name = args.first.to_s

0 comments on commit 3b4b364

Please sign in to comment.