summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-08-07 13:53:08 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-08-07 13:53:08 -0300
commit68f568d9dc53975c44ab00cf320fa6407146d1e3 (patch)
tree897be6e95cd53c0eca7174b72bed73c6ce804561
parentee3d8e93403ab04ccd6cc031d2b0454702322eb0 (diff)
downloadgitlab-ce-68f568d9dc53975c44ab00cf320fa6407146d1e3.tar.gz
Fix small typo on Github::Import#fetch_releases
-rw-r--r--lib/github/import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/github/import.rb b/lib/github/import.rb
index 8c4a5e0875c..611ea35964e 100644
--- a/lib/github/import.rb
+++ b/lib/github/import.rb
@@ -313,7 +313,7 @@ module Github
next unless representation.valid?
release = ::Release.find_or_initialize_by(project_id: project.id, tag: representation.tag)
- next unless relese.new_record?
+ next unless release.new_record?
begin
release.description = representation.description