Use proper environment variable

This commit is contained in:
Zachary Eisinger 2020-09-03 12:36:57 -07:00
parent 0da8b9498b
commit 240b4913cc
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored
View File

@ -16778,7 +16778,7 @@ class DotnetCoreInstaller {
else { else {
if (IS_WINDOWS) { if (IS_WINDOWS) {
// This is the default set in install-dotnet.ps1 // This is the default set in install-dotnet.ps1
core.addPath(path.join(process.env['%LocalAppData'] + '', 'Microsoft', 'dotnet')); core.addPath(path.join(process.env['LocalAppData'] + '', 'Microsoft', 'dotnet'));
} }
else { else {
// This is the default set in install-dotnet.sh // This is the default set in install-dotnet.sh

View File

@ -167,7 +167,7 @@ export class DotnetCoreInstaller {
if (IS_WINDOWS) { if (IS_WINDOWS) {
// This is the default set in install-dotnet.ps1 // This is the default set in install-dotnet.ps1
core.addPath( core.addPath(
path.join(process.env['%LocalAppData'] + '', 'Microsoft', 'dotnet') path.join(process.env['LocalAppData'] + '', 'Microsoft', 'dotnet')
); );
} else { } else {
// This is the default set in install-dotnet.sh // This is the default set in install-dotnet.sh