@@ -59,7 +59,7 def read_key_from_file(filename) | |||||
59 | end |
|
59 | end | |
60 |
|
60 | |||
61 | def set_scm(scm) |
|
61 | def set_scm(scm) | |
62 |
$scm = |
|
62 | $scm = scm.capitalize | |
63 | unless SUPPORTED_SCM.include?($scm) |
|
63 | unless SUPPORTED_SCM.include?($scm) | |
64 | log("Invalid SCM: #{$scm}\nValid SCM are: #{SUPPORTED_SCM.join(', ')}", :exit => true) |
|
64 | log("Invalid SCM: #{$scm}\nValid SCM are: #{SUPPORTED_SCM.join(', ')}", :exit => true) | |
65 | end |
|
65 | end |
General Comments 0
You need to be logged in to leave comments.
Login now