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
Because of the .split("functions"), the first instance of functions in the path is split. This is a problem if any part of the path contains the word functions.
The text was updated successfully, but these errors were encountered:
CLoses#140
Fixes a problem where `files::get_namespace` wouldn't work properly if
the path contained the word `functions` at any point. This is actually
not backwards-compatible due to the change of return type from
`Result<&str, &str>` to `Result<String, &str>`, but the API isn't stable
and isn't used by anyone else so it seems ok to release as a patch.
MysteryBlokHed
changed the title
Can't tag functions if project name contains folder
Can't tag functions if project name contains functionsJan 15, 2023
This following code from
files::get_namespace
uses the following code to get a path that ends with the namespace folder:databind/src/lib/files.rs
Lines 62 to 68 in 6d36a85
Because of the
.split("functions")
, the first instance offunctions
in the path is split. This is a problem if any part of the path contains the wordfunctions
.The text was updated successfully, but these errors were encountered: