Skip to content

Commit 8e0ba4a

Browse files
committed
Remove unused local vars
1 parent 6b4dec7 commit 8e0ba4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/thor/actions/directory.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ def execute!
8989
next if dirname == given_destination
9090
base.empty_directory(dirname, config)
9191
when /#{TEMPLATE_EXTNAME}$/
92-
destination = base.template(file_source, file_destination[0..-4], config, &@block)
92+
base.template(file_source, file_destination[0..-4], config, &@block)
9393
else
94-
destination = base.copy_file(file_source, file_destination, config, &@block)
94+
base.copy_file(file_source, file_destination, config, &@block)
9595
end
9696
end
9797
end

0 commit comments

Comments
 (0)