Skip to content

Addon manager takes wrong path when using Lua.addonManager.repositoryPath #3230

Description

@antim0118

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Libraries

Expected Behaviour

I expect it works with custom repository addons (workspaceStorage)

Image

Actual Behaviour

It works with official repository addons (globalStorage)

important note: I copied the files from "workspaceStorage" to "globalStorage" to illustrate the problem. Without this, the custom library will not activate.

Image

Reproduction steps

  1. Go to 'settings', search for 'Lua.addonManager.repositoryPath'
  2. Type 'https://github.com/antim0118/LLS-Addons-LPYT'
  3. Open 'Addon manager'
  4. Activate any custom addon
  5. Nothing happens (because it tries to find the addon in globalStorage folder)

Additional Notes

No response

Log File

Log file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions