Open niik opened 3 months ago
@niik Just making sure you were aware of the failing tests (I have been putting off reviewing till those are happy)
Just making sure you were aware of the failing tests (I have been putting off reviewing till those are happy)
I was not aware, thanks for the heads up!
This is a follow-up to #570 and attempts to tackle Windows environment variable shenanigans for all environment variables and not just
PATH
. The main change is the introduction ofEnvMap
, a class that behaves as a case-insensitive, case-preserving map on Windows and a regular case-sensitive map on other platforms. This class is used inlib/git-environment.ts
to handle environment variables in a consistent manner across platforms.I've also bumped Prettier to 3.3.1 so it can handle my syntax and specified the version of TypeScript used by Visual Studio Code in
.vscode/settings.json
because I was building this on an old VM with an old VS code and noticed that it wouldn't complete properly.