diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/extracts_path.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extracts_path.rb b/lib/extracts_path.rb index 9b74364849e..a8cc189a8c2 100644 --- a/lib/extracts_path.rb +++ b/lib/extracts_path.rb @@ -125,9 +125,9 @@ module ExtractsPath request.format = :atom if @commit end - end - raise InvalidPathError unless @commit + raise InvalidPathError unless @commit + end @hex_path = Digest::SHA1.hexdigest(@path) @logs_path = logs_file_namespace_project_ref_path(@project.namespace, |