Skip to content

Commit aa343ea

Browse files
committed
Account for normalized NIL module_type
1 parent 41cf966 commit aa343ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/js_routes.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def json(value)
5757

5858
sig { returns(T.nilable(String)) }
5959
def default_module_type
60-
'DTS' if configuration.module_type
60+
'DTS' if configuration.module_type && configuration.module_type != 'NIL'
6161
end
6262

6363

0 commit comments

Comments
 (0)