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

"Missing file extension" for ".config" #6

Closed
garandria opened this issue Mar 2, 2023 · 1 comment
Closed

"Missing file extension" for ".config" #6

garandria opened this issue Mar 2, 2023 · 1 comment

Comments

@garandria
Copy link

I get a "Missing file extension" error when I set the configuration to .config:

  • autokernel config:
script = "/home/user/Documents/git_dir/autokernel/linux-5.13/.config"
  • the error:
thread 'main' panicked at 'Missing file extension', /home/user/Documents/git_dir/autokernel/src/script/mod.rs:22:10

Looks like extension() here https://github.com/oddlama/autokernel/blob/main/src/script/mod.rs#L21 returns None. For instance: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=e6a8356bb82aee51184f062595a4b871

@oddlama
Copy link
Owner

oddlama commented Mar 2, 2023

Good catch, and interesting use-case. Fixed on newest develop branch.

@oddlama oddlama closed this as completed Mar 2, 2023
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

2 participants