Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ASDF home as the ASDF_DIR #1979

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

vinistock
Copy link
Member

Motivation

Apparently, even if you install ASDF through Homebrew, the expected ASDF_DIR is ~/.asdf and not /opt/homebrew/opt/asdf (where the executable gets installed).

Implementation

That path matches exactly what we use for the data dir, so I switched to use it on both variables.

@vinistock vinistock added bugfix This PR will fix an existing bug vscode This pull request should be included in the VS Code extension's release notes labels Apr 26, 2024
@vinistock vinistock self-assigned this Apr 26, 2024
@@ -24,7 +24,7 @@ export class Asdf extends VersionManager {
{
cwd: this.bundleUri.fsPath,
env: {
ASDF_DIR: path.dirname(asdfUri.fsPath),
ASDF_DIR: asdfDaraDirUri.fsPath,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw there's a typo from when asdfDaraDirUri was first introduced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This PR will fix an existing bug vscode This pull request should be included in the VS Code extension's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants