8000 Fix parsing python requirements.txt by Ninja3047 · Pull Request #111 · nix-community/nix-init · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lang/python.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ pub fn parse_requirements_txt(src: &Path) -> Option<PythonDependencies> {
get_python_dependencies(
BufReader::new(file)
.lines()
.filter_map(|line| Some(line.ok_warn()?.to_lowercase().to_kebab_case())),
.filter_map(|line| line.ok_warn()),
)
})
}
Expand Down
0