diff --git a/src/dsl_vlplot_function/dsl_vlplot_function.jl b/src/dsl_vlplot_function/dsl_vlplot_function.jl index 8512f115..bb87d0b8 100644 --- a/src/dsl_vlplot_function/dsl_vlplot_function.jl +++ b/src/dsl_vlplot_function/dsl_vlplot_function.jl @@ -224,7 +224,7 @@ function convert_frag_tree_to_dict(spec::VLFrag) Base.depwarn("`typ` in VegaLite.jl specs is deprecated, use `type` instead.", :vlplot) return "type" => p[2] - else + else return p end end diff --git a/src/vlspec.jl b/src/vlspec.jl index 5ac76b26..24e8123b 100644 --- a/src/vlspec.jl +++ b/src/vlspec.jl @@ -34,7 +34,7 @@ function augment_encoding_type(x::AbstractDict, data::Vega.DataValuesNode) return new_x else - return x + return x end end