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

Fix code that resolves the extension directory path #897

Closed
wants to merge 1 commit into from

Conversation

mblythe86
Copy link
Contributor

I think this is the last fix needed for #847.

@@ -10,6 +10,6 @@ try {
pre.loadSync({preventSaving: true});
} catch (e) { /* empty */
}
ExtensionConfigTemplateLoader.Instance.init(path.join(__dirname, '/../../../../', pre.Extensions.folder));
ExtensionConfigTemplateLoader.Instance.init(pre.Extensions.folder);
Copy link
Owner

Choose a reason for hiding this comment

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

I'm not sure if that works in all cases. Let me take a look.

Copy link
Owner

Choose a reason for hiding this comment

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

yeah so the docker used absolute path, while my test setup used a relative one.
Your setup fixes it for absolute path (eg the docker build), but breaks it for absolute.

My last commit should fix it for both.

@mblythe86
Copy link
Contributor Author

Fixed by a different commit, no longer necessary.

@mblythe86 mblythe86 closed this May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants