choco icon indicating copy to clipboard operation
choco copied to clipboard

Fix spelling mistake in the extract_binary_file_from_assembly function

Open gep13 opened this issue 3 years ago • 0 comments

What You Are Seeing?

There is a spelling mistake in the extract_binary_file_from_assembly method.

This was attempted to be fixed as part of #2465 however, @AdmiringWorm noticed that this was a breaking change, so the change has been reverted, and is captured here, to be completed as part of the next major release.

What is Expected?

For there not to be any spelling mistakes 😄

How Did You Get This To Happen? (Steps to Reproduce)

Navigate to the function in the AssemblyFileExtractor.cs file, and see that it uses throwEror rather than throwError.

https://github.com/chocolatey/choco/blob/67190e5408372176084351b895e0cb1d841cee69/src/chocolatey/infrastructure/extractors/AssemblyFileExtractor.cs#L70

System Details

N/A

Output Log

N/A

gep13 avatar Jul 29 '22 07:07 gep13