You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(base) ➜ apple-knowledge git:(sorbet_fix) srb tc
_packages/ruby/lib/apple_data.rb:12: This function does not have a sig https://srb.help/7017
12 |def get_data(file)
^^^^^^^^^^^^^^^^^^
_packages/ruby/lib/apple_data.rb:10: Constants must have type annotations with T.let when specifying # typed: strict https://srb.help/7027
10 |APPLE_DATA_SHARE = File.join(File.dirname(FILE), '../share/')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Autocorrect: Use -a to autocorrect
_packages/ruby/lib/apple_data.rb:10: Replace with T.let(File.join(File.dirname(FILE), '../share/'), String)
10 |APPLE_DATA_SHARE = File.join(File.dirname(FILE), '../share/')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tools/lib/common.rb:85: Splats are only supported where the size of the array is known statically https://srb.help/7019
85 | load_file(*parts)
^
_tools/lib/common.rb:91: Splats are only supported where the size of the array is known statically https://srb.help/7019
91 | @filename = File.join(DATA_DIR, File.join(*parts))
^
Errors: 4
The text was updated successfully, but these errors were encountered:
(base) ➜ apple-knowledge git:(sorbet_fix) srb tc
_packages/ruby/lib/apple_data.rb:12: This function does not have a sig https://srb.help/7017
12 |def get_data(file)
^^^^^^^^^^^^^^^^^^
_packages/ruby/lib/apple_data.rb:10: Constants must have type annotations with T.let when specifying # typed: strict https://srb.help/7027
10 |APPLE_DATA_SHARE = File.join(File.dirname(FILE), '../share/')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Autocorrect: Use
-a
to autocorrect_packages/ruby/lib/apple_data.rb:10: Replace with T.let(File.join(File.dirname(FILE), '../share/'), String)
10 |APPLE_DATA_SHARE = File.join(File.dirname(FILE), '../share/')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tools/lib/common.rb:85: Splats are only supported where the size of the array is known statically https://srb.help/7019
85 | load_file(*parts)
^
_tools/lib/common.rb:91: Splats are only supported where the size of the array is known statically https://srb.help/7019
91 | @filename = File.join(DATA_DIR, File.join(*parts))
^
Errors: 4
The text was updated successfully, but these errors were encountered: