From 44a22fc50cf1457cfac7e98203022eab6792ef41 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Fri, 22 Apr 2016 02:12:22 -0500 Subject: [PATCH] Typo fix. --- lib/kgrader/backend/svn.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/kgrader/backend/svn.rb b/lib/kgrader/backend/svn.rb index 3644c3b..9566e8b 100644 --- a/lib/kgrader/backend/svn.rb +++ b/lib/kgrader/backend/svn.rb @@ -52,9 +52,9 @@ module KGrader::Backend end def commit(repo, message, *paths) - fullpaths = *paths.map { |fn| File.join repo, fn } - run 'add', fullpaths - run 'commit', '-m', message, fullpaths + fullpaths = paths.map { |fn| File.join repo, fn } + run 'add', *fullpaths + run 'commit', '-m', message, *fullpaths end def commit_date(repo)