Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App panics if selected folder doesn't contain .gitignore #36

Open
tbmreza opened this issue Mar 24, 2024 · 0 comments
Open

App panics if selected folder doesn't contain .gitignore #36

tbmreza opened this issue Mar 24, 2024 · 0 comments

Comments

@tbmreza
Copy link
Contributor

tbmreza commented Mar 24, 2024

thread 'main' panicked at src/utils.rs:83:50:
Something went wrong reading the file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
0: rust_begin_unwind
             at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/std/src/panicking.rs:647:5
1: core::panicking::panic_fmt
             at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/panicking.rs:72:14
2: core::result::unwrap_failed
             at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/result.rs:1649:5
3: core::result::Result<T,E>::expect
             at /rustc/aedd173a2c086e558c2b66d3743b344f977621a7/library/core/src/result.rs:1030:23
4: nodium_app::utils::load_gitignore
             at ./src/utils.rs:83:20
5: nodium_app::commands::load_gitignore
             at ./src/commands.rs:11:5
6: nodium_app::main::{{closure}}
             at ./src/main.rs:15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant