-
Notifications
You must be signed in to change notification settings - Fork 68
Write to manifest #439
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
Write to manifest #439
Conversation
lib/elixir_script/passes/output.ex
Outdated
@@ -27,8 +28,13 @@ defmodule ElixirScript.Output do | |||
{module, name, path, import_path} | |||
end) | |||
|
|||
modules | |||
|> create_modules(opts, js_modules) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no more than 1 consecutive blank lines.
@@ -94,7 +94,9 @@ defmodule ElixirScript.FindUsedModules do | |||
|
|||
functions = Enum.map(first_implementation_functions, fn { name, _, _, _} -> name end) | |||
|
|||
ModuleState.put_module(pid, module, %{protocol: true, impls: impls, functions: functions}) | |||
module_info = Map.merge(module_info, %{protocol: true, impls: impls, functions: functions}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long (max is 80, was 95).
@@ -7,7 +7,7 @@ defmodule ElixirScript.Beam do | |||
For protocols, this will return a list of | |||
all the protocol implementations | |||
""" | |||
@spec debug_info(atom | bitstring) :: {:ok | :error, map | binary} | |||
@spec debug_info(atom | bitstring) :: {:ok, map} | {:ok, atom, map, list} | {:error, binary} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long (max is 80, was 94).
.credo.exs
Outdated
@@ -61,7 +61,7 @@ | |||
|
|||
{Credo.Check.Readability.FunctionNames}, | |||
{Credo.Check.Readability.LargeNumbers}, | |||
{Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 80}, | |||
{Credo.Check.Readability.MaxLineLength, priority: :low, max_length: 80, ignore_specs: true}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long (max is 80, was 100).
Ebert has finished reviewing this Pull Request and has found:
You can see more details about this review at https://ebertapp.io/github/elixirscript/elixirscript/pulls/439. |
fixes #435
fixes #436