-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When linking to a file from a module, such as an HTML file containing a macro. Referencing the file using relative pathing throws an error when "HubSpot: HubL Linting" is turned on in the settings. The error thrown is a "could not resolve function" when calling a macro as well as the warning "template cannot be found".
This seems to just be an issue with the linting as pushing the module up to HS works perfectly and the macro is displaying and working correctly inside the module, no errors are thrown inside HS itself, only locally using the extension.
To Reproduce:
- Add an empty template file inside a theme and create a macro
- Inside a module, import that file using relative pathing
- Make sure this is done in a local environment and that the setting HubSpot: HubL Linting is turned on
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working