mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-22 03:21:08 +07:00
Rename DotnetInstallDir.path to DotnetInstallDir.dirPath
This commit is contained in:
parent
2785e21d5e
commit
916aec40c9
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user