summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2014-08-27 10:42:38 +0000
committerJacob Vosmaer <jacob@gitlab.com>2014-08-27 10:42:38 +0000
commit970a07e886866062342205eed4647623f40bf386 (patch)
tree48e98dec650ca396c094fde873087d18011fc0e9 /lib
parent91753e937e729c0fedc9a5dd7ae52b85436b4971 (diff)
parent81a67f7533a9999a404a03c8c259b3233a2b8c40 (diff)
downloadgitlab-shell-970a07e886866062342205eed4647623f40bf386.tar.gz
Merge branch 'abort-check-path' into 'master'
Abort check path Fixes #13 See merge request !35
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab_shell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb
index 086e36b..6edb748 100644
--- a/lib/gitlab_shell.rb
+++ b/lib/gitlab_shell.rb
@@ -93,7 +93,7 @@ class GitlabShell
if File.absolute_path(full_repo_path) == full_repo_path
path
else
- raise "Wrong repository path"
+ abort "Wrong repository path"
end
end
end