Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziosestito committed Jul 12, 2023
1 parent 8c71e51 commit f096f9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/wanda/executions/evaluation.ex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defmodule Wanda.Executions.Evaluation do
map(),
%{String.t() => boolean() | number() | String.t()},
[String.t()],
EvaluationEngine.t()
Rhai.Engine.t()
) :: Result.t()
def execute(execution_id, group_id, checks, gathered_facts, env, timeouts \\ [], engine) do
%Result{
Expand Down
2 changes: 1 addition & 1 deletion lib/wanda/executions/expectation_evaluation_error.ex
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ defmodule Wanda.Executions.ExpectationEvaluationError do
@type t :: %__MODULE__{
name: String.t(),
message: String.t(),
type: Rhai.rhai_error()
type: Rhai.Error.t()
}
end
4 changes: 2 additions & 2 deletions lib/wanda/executions/state.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Wanda.Executions.State do
State of an execution.
"""

alias Wanda.{Catalog, EvaluationEngine}
alias Wanda.Catalog
alias Wanda.Executions.Target

defstruct [
Expand All @@ -19,7 +19,7 @@ defmodule Wanda.Executions.State do
]

@type t :: %__MODULE__{
engine: EvaluationEngine.t(),
engine: Rhai.Engine.t(),
execution_id: String.t(),
group_id: String.t(),
timeout: integer(),
Expand Down

0 comments on commit f096f9f

Please sign in to comment.