Fix casing.
This commit is contained in:
parent
ad6c37f0c4
commit
6bfccd9ab0
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ def problem_to_upstream_requirement(problem): # noqa: C901
|
||||||
return NodeModuleRequirement(problem.module)
|
return NodeModuleRequirement(problem.module)
|
||||||
elif isinstance(problem, MissingNodePackage):
|
elif isinstance(problem, MissingNodePackage):
|
||||||
return NodePackageRequirement(problem.package)
|
return NodePackageRequirement(problem.package)
|
||||||
elif isinstance(problem, MissingLaTeXFile):
|
elif isinstance(problem, MissingLatexFile):
|
||||||
if problem.filename.endswith('.sty'):
|
if problem.filename.endswith('.sty'):
|
||||||
return LatexPackageRequirement(problem.filename[:-4])
|
return LatexPackageRequirement(problem.filename[:-4])
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Add table
Reference in a new issue