This instance will be upgraded to Heptapod 0.27.1 on 2021-12-08 at 22:00 UTC+1 (a few minutes of down time)

Commit dd639550 authored by James Lopez's avatar James Lopez
Browse files

updated create_or_update_import_data to use guard clause

parent c18a97d32435
......@@ -465,7 +465,7 @@ def import_url=(value)
import_url =
create_or_update_import_data(credentials: import_url.credentials) if valid_import_url?
create_or_update_import_data(credentials: import_url.credentials)
def import_url
......@@ -482,6 +482,8 @@ def valid_import_url?
def create_or_update_import_data(data: nil, credentials: nil)
return unless valid_import_url?
project_import_data = import_data || build_import_data
if data ||= {}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment