Skip to content

Fix an exception seen using the online terminal

Nick Thomas requested to merge (removed):fix-no-method-error-on-nil into master

What does this MR do?

Fixes a NoMethodError on nil that I saw while setting up a test for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18063#note_67505271

Are there points in the code the reviewer needs to double check?

I don't know if this is caused by a misconfiguration on my end or a refactoring somewhere since I initially wrote the code (i.e., genuine bug). Either way, the fix is trivial, so I think it's worth doing.

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by Nick Thomas

Merge request reports