Skip to content

Commit

Permalink
Rename DotnetInstallDir.path to DotnetInstallDir.dirPath
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai Laevskii committed May 30, 2023
1 parent 2785e21 commit 916aec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']
)
Expand All @@ -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;
}
}

Expand Down

0 comments on commit 916aec4

Please sign in to comment.