diff --git a/lib/kgrader/backend/svn.rb b/lib/kgrader/backend/svn.rb index bbd4495..1928a5e 100644 --- a/lib/kgrader/backend/svn.rb +++ b/lib/kgrader/backend/svn.rb @@ -62,8 +62,8 @@ module KGrader::Backend private def run(*cmd) if @password - cmd.unshift '--password' cmd.unshift @password + cmd.unshift '--password' end Open3.capture2e('svn', *cmd) end