Update for str instead of pathlib.Path

Co-authored-by: John W. Parent <45471568+johnwparent@users.noreply.github.com>
This commit is contained in:
Greg Becker 2025-03-27 16:07:38 -07:00 committed by Harmen Stoppels
parent 69f5908d40
commit 68906f62c4

View File

@ -59,7 +59,7 @@ def install(self, spec, prefix):
@classmethod
def determine_version(cls, exe):
if not exe.name.endswith(".exe") and not exe.name.endswith(".bat"):
if not exe.endswith(".exe") and not exe.endswith(".bat"):
# Not on windows, can't possibly be msvc
return