Skip to content

Commit deb80f8

Browse files
committed
Fix: [error] Cannot allow method body have type (::String | nil) because declared as type ::String
1 parent e4b61e3 commit deb80f8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ruby/src/application.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ def full_unit
9494
'weekly'
9595
when 'm'
9696
'monthly'
97+
else
98+
''
9799
end
98100
end
99101

0 commit comments

Comments
 (0)