Ruby

Ruby

Made by DeepSource

Possible unintended string concatenation RB-LI1027

Bug risk
Major

Two adjacent string constants are found on the same line that are being concatenated. However, this is usually a typo, and some separator is missing.

Bad practice

a = ['Hello' 'world']

Recommended

a = ['Hello', 'world']
# OR

a = ['HelloWorld']