Rename DotnetInstallDir.path to DotnetInstallDir.dirPath

This commit is contained in:
Nikolai Laevskii 2023-05-30 12:14:34 +02:00
parent 2785e21d5e
commit 916aec40c9
1 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ export abstract class DotnetInstallDir {
windows: path.join(process.env['PROGRAMFILES'] + '', 'dotnet') windows: path.join(process.env['PROGRAMFILES'] + '', 'dotnet')
}; };
public static readonly path = process.env['DOTNET_INSTALL_DIR'] public static readonly dirPath = process.env['DOTNET_INSTALL_DIR']
? DotnetInstallDir.convertInstallPathToAbsolute( ? DotnetInstallDir.convertInstallPathToAbsolute(
process.env['DOTNET_INSTALL_DIR'] process.env['DOTNET_INSTALL_DIR']
) )
@ -241,7 +241,7 @@ export abstract class DotnetInstallDir {
} }
public static initialize() { public static initialize() {
process.env['DOTNET_INSTALL_DIR'] = DotnetInstallDir.path; process.env['DOTNET_INSTALL_DIR'] = DotnetInstallDir.dirPath;
} }
} }