• Suggestion:

    project_path = ENV["INFRA_2547_PROJECT_PATH"]
    raise 'No project path' if project_path.nil?
    project = Project.find_by_full_path(project_path)
    raise 'Not found' unless project
    group_id = ENV["INFRA_2547_GROUP_ID"]
    raise 'No group id' if group_id.nil?
    project = Group.find(group_id).projects.first
    raise 'Not project found' unless project
    Edited by Alex Kalderimis
Supports Markdown
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