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
Using project assertions with RBI's is common in Tapioca and allowing assert_rbi_exists?("sorbet/rbi/gems/foo@*.rbi") would be beneficial so that we can omit the version number.
Maybe we can first check if the given string is a file. If not we can also search the directory with the given path which will support the wildcard out of the box Dir["sorbet/rbi/gems/foo@*.rbi"]
I thought this is mostly for RBIs so I'm suggesting a new method but we could also modify the existing assert_project_file_exist.
Related PR where we had to update an assertion Shopify/tapioca#2046
The text was updated successfully, but these errors were encountered:
Using project assertions with RBI's is common in Tapioca and allowing
assert_rbi_exists?("sorbet/rbi/gems/foo@*.rbi")
would be beneficial so that we can omit the version number.Maybe we can first check if the given string is a file. If not we can also search the directory with the given path which will support the wildcard out of the box
Dir["sorbet/rbi/gems/foo@*.rbi"]
I thought this is mostly for RBIs so I'm suggesting a new method but we could also modify the existing
assert_project_file_exist
.Related PR where we had to update an assertion Shopify/tapioca#2046
The text was updated successfully, but these errors were encountered: