Skip to content

Commit

Permalink
chore(website): Fix make generate command (vectordotdev#2205)
Browse files Browse the repository at this point in the history
Signed-off-by: binarylogic <[email protected]>
  • Loading branch information
binarylogic authored Apr 2, 2020
1 parent 09cb534 commit f26b0ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion scripts/generate/templates/_partials/_strategies.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
defaultValue="<%= strategies.first.name.parameterize %>"
values={<%= strategies.collect { |strategy| {label: "#{strategy.title}", value: strategy.name.parameterize } }.to_json %>}>
<%- strategies.each do |strategy| -%>
<%- source = metadata.sources.send(strategy.source) -%>
<TabItem value="<%= strategy.name.parameterize %>">

<%= deployment_strategy(strategy, describe: false) %>
Expand Down
2 changes: 1 addition & 1 deletion scripts/util/core_ext/accessible_hash.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def method_missing(name, *args, &block)
elsif key?(name.to_s)
self[name.to_s]
else
raise(NoMethodError.new("Method #{name} does not exist on:\n\n #{inspect}"))
raise(NoMethodError.new("Method `#{name}` does not exist on:\n\n #{inspect}"))
end
end

Expand Down

0 comments on commit f26b0ad

Please sign in to comment.