From 916aec40c9bb1c77c92f529c6c9a588a1d195775 Mon Sep 17 00:00:00 2001 From: Nikolai Laevskii Date: Tue, 30 May 2023 12:14:34 +0200 Subject: [PATCH] Rename DotnetInstallDir.path to DotnetInstallDir.dirPath --- src/installer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/installer.ts b/src/installer.ts index a263afb..a841084 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -219,7 +219,7 @@ export abstract class DotnetInstallDir { 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( process.env['DOTNET_INSTALL_DIR'] ) @@ -241,7 +241,7 @@ export abstract class DotnetInstallDir { } public static initialize() { - process.env['DOTNET_INSTALL_DIR'] = DotnetInstallDir.path; + process.env['DOTNET_INSTALL_DIR'] = DotnetInstallDir.dirPath; } }