Closed DaelonSuzuka closed 2 months ago
It solves the problem, but looks like a hack. Why is projectDir
like that?
I don't understand the question. Why is projectDir
like what?
Like wrong. Windows always uses capitalized drive letters, so I don't get where the small drive letter came from. That would be the true source of this bug.
path.dirname()
is from the Node standard library, and apparently it returns Windows paths with a lower case drive letter. What is it you're expecting me to do about that except fix the return value?
Ah so it's just some Node weirdness.
What is it you're expecting me to do about that except fix the return value?
I was mostly curious, because it looks like bandaid fix. But if the problem is standard library then it's the only way I guess.
Ah so it's just some Node weirdness.
Pretty much. It preserves the case in the rest of the path, for some reason: ie it doesn't lower the path part of p:/SkyknightsOnline
on my machine, just the drive letter.
RE: #726
@KoBeWi please grab the CI build and let me know if this solves your problem