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')
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue