We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d42f8b8 commit fa6bdf9Copy full SHA for fa6bdf9
dist/setup/index.js
@@ -47248,14 +47248,12 @@ const utils = __importStar(__nccwpck_require__(1314));
47248
* Provide current location of miniconda or location where it will be installed
47249
*/
47250
function condaBasePath(options) {
47251
- let condaPath = constants.MINICONDA_DIR_PATH;
47252
- if (!options.useBundled) {
47253
- if (constants.IS_MAC) {
47254
- condaPath = "/Users/runner/miniconda3";
47255
- }
47256
- else {
47257
- condaPath += "3";
47258
+ let condaPath;
+ if (options.useBundled) {
+ condaPath = constants.MINICONDA_DIR_PATH;
+ }
+ else {
+ condaPath = path.join(os.homedir(), "miniconda3");
47259
}
47260
return condaPath;
47261
0 commit comments