fix: change relative path to install scripts
This commit is contained in:
parent
3fcae62228
commit
061d7afe7f
|
@ -71290,7 +71290,7 @@ class DotnetCoreInstaller {
|
|||
];
|
||||
const scriptName = utils_1.IS_WINDOWS ? 'install-dotnet.ps1' : 'install-dotnet.sh';
|
||||
const escapedScript = path_1.default
|
||||
.join(__dirname, '..', 'externals', scriptName)
|
||||
.join(__dirname, '..', '..', 'externals', scriptName)
|
||||
.replace(/'/g, "''");
|
||||
let scriptArguments;
|
||||
let scriptPath = '';
|
||||
|
|
|
@ -188,7 +188,7 @@ export class DotnetCoreInstaller {
|
|||
];
|
||||
const scriptName = IS_WINDOWS ? 'install-dotnet.ps1' : 'install-dotnet.sh';
|
||||
const escapedScript = path
|
||||
.join(__dirname, '..', 'externals', scriptName)
|
||||
.join(__dirname, '..', '..', 'externals', scriptName)
|
||||
.replace(/'/g, "''");
|
||||
let scriptArguments: string[];
|
||||
let scriptPath = '';
|
||||
|
|
Loading…
Reference in New Issue