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: path checks in custom extension loader #1170

Merged
merged 2 commits into from
Oct 29, 2020

Conversation

aleksfront
Copy link
Contributor

@aleksfront aleksfront commented Oct 28, 2020

Accepting only directories and checking for package.json availability while loading an extension from home folder.

It allows to avoid parsing .DS_Store file which can be created automatically in any folder by macOS. And skips directories without manifest package.json.

Signed-off-by: Alex Andreev alex.andreev.email@gmail.com

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
@aleksfront aleksfront requested review from nevalla and a team October 28, 2020 13:04
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
Copy link
Contributor

@nevalla nevalla left a comment

Choose a reason for hiding this comment

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

LGTM

@aleksfront aleksfront merged commit a583dbe into master Oct 29, 2020
@aleksfront aleksfront deleted the fix/custom-extensions-loader-directory-check branch October 29, 2020 08:23
@jakolehm jakolehm mentioned this pull request Nov 2, 2020
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.

3 participants