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
When handling errors in assert_is_allowed_filename in src/interface/file.rs, panic! might not be suitable. Instead, returning Result<(), String> would allow the caller to handle errors, giving more control over error management.
The text was updated successfully, but these errors were encountered:
When handling errors in assert_is_allowed_filename in src/interface/file.rs, panic! might not be suitable. Instead, returning Result<(), String> would allow the caller to handle errors, giving more control over error management.
The text was updated successfully, but these errors were encountered: