You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
constchocoPath=path_1.join(`${process.env.ChocolateyInstall}`,'lib',`${tool}.${version}`,'tools',tool==='ghc' ? `${tool}-${chocoPathVersion}` : `${tool}-${version}`,// choco trims the ghc version here
11086
+
tool==='ghc' ? 'bin' : '');
11082
11087
constlocations={
11083
11088
stack: [],
11084
11089
cabal: {
@@ -11184,8 +11189,8 @@ async function choco(tool, version) {
11184
11189
ignoreReturnCode: true
11185
11190
});
11186
11191
// Manually add the path because it won't happen until the end of the step normally
11187
-
letpathArray=version.split('.');
11188
-
letpathVersion=pathArray.length>3
11192
+
constpathArray=version.split('.');
11193
+
constpathVersion=pathArray.length>3
11189
11194
? pathArray.slice(0,pathArray.length-1).join('.')
11190
11195
: pathArray.join('.');
11191
11196
constchocoPath=path_1.join(`${process.env.ChocolateyInstall}`,'lib',`${tool}.${version}`,'tools',tool==='ghc' ? `${tool}-${pathVersion}` : `${tool}-${version}`,// choco trims the ghc version here
0 commit comments