From cedca02c1cd0750a70a9c46999936a6795a5d11a Mon Sep 17 00:00:00 2001 From: Postmodern Date: Mon, 9 Dec 2024 20:18:14 -0800 Subject: [PATCH] Fixed a typo in the `references [ ]` generation code. --- data/new/exploit.rb.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/new/exploit.rb.erb b/data/new/exploit.rb.erb index 4dd3f251..9093a5d2 100644 --- a/data/new/exploit.rb.erb +++ b/data/new/exploit.rb.erb @@ -69,7 +69,7 @@ module Ronin <%- end -%> <%- unless @references.empty? -%> references [ - <%- @references.each do |url| -%> + <%- @references.each.with_index do |url,index| -%> <%= url.inspect -%><% if index < @references.length-1 %>,<% end %> <%- end -%> ]