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 remove unnecessary app startup #1105

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dergraf
Copy link
Contributor

@dergraf dergraf commented Mar 9, 2019

No description provided.

Copy link
Contributor

@larshesel larshesel left a comment

Choose a reason for hiding this comment

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

Besides the comments I think this is fine - it seems like a strange hack to have to do - did you ask tristan or fred if there might be a better solution?

AccN = F(F, Type, proplists:get_value(applications, Terms, []), Acc, Excl),
F(F, Type, Rest, [{App, Type}|AccN], Excl);
{error, enoent} ->
% default app shiped with Erlang
Copy link
Contributor

Choose a reason for hiding this comment

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

shiped -> shipped

LoadedAppsFun = fun(F, Type, [App|Rest], Acc, Excl) ->
case lists:keymember(App, 1, Excl) of
false ->
AppSrcFile = filename:join(["_build", "default", "lib", App, src, atom_to_list(App) ++ ".app.src"]),
Copy link
Contributor

Choose a reason for hiding this comment

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

is the current profile available from the config? If so I think that should be used instead of default here to make sure the code works with any profile.

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