parent
473ea1e974
commit
face87b7bb
|
|
@ -514,7 +514,7 @@ Style/SelfAssignment:
|
||||||
|
|
||||||
# Don't use semicolons to terminate expressions.
|
# Don't use semicolons to terminate expressions.
|
||||||
Style/Semicolon:
|
Style/Semicolon:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
# Checks for proper usage of fail and raise.
|
# Checks for proper usage of fail and raise.
|
||||||
Style/SignalException:
|
Style/SignalException:
|
||||||
|
|
|
||||||
|
|
@ -164,7 +164,7 @@ module Network
|
||||||
i != range.last &&
|
i != range.last &&
|
||||||
@commits[i].spaces.include?(overlap_space)
|
@commits[i].spaces.include?(overlap_space)
|
||||||
|
|
||||||
return true;
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ module Gitlab
|
||||||
request_url = URI.join(base_url, project_path)
|
request_url = URI.join(base_url, project_path)
|
||||||
domain_path = strip_url(request_url.to_s)
|
domain_path = strip_url(request_url.to_s)
|
||||||
|
|
||||||
"<!DOCTYPE html><html><head><meta content='#{domain_path} git #{request_url}.git' name='go-import'></head></html>\n";
|
"<!DOCTYPE html><html><head><meta content='#{domain_path} git #{request_url}.git' name='go-import'></head></html>\n"
|
||||||
end
|
end
|
||||||
|
|
||||||
def strip_url(url)
|
def strip_url(url)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue