From 144e4af0f49a9720c956ce737aebb97d39251808 Mon Sep 17 00:00:00 2001 From: Roger Oba Date: Thu, 13 Jun 2024 01:33:11 -0300 Subject: [PATCH] Revert from "require_relative" to "require" in the `.erb` templates. --- lib/arkana/templates/kotlin/arkana.kt.erb | 4 ++-- lib/arkana/templates/kotlin/arkana_protocol.kt.erb | 4 ++-- lib/arkana/templates/kotlin/arkana_tests.kt.erb | 4 ++-- lib/arkana/templates/swift/arkana.swift.erb | 4 ++-- lib/arkana/templates/swift/arkana_protocol.swift.erb | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/arkana/templates/kotlin/arkana.kt.erb b/lib/arkana/templates/kotlin/arkana.kt.erb index bf3a575..7cd0927 100644 --- a/lib/arkana/templates/kotlin/arkana.kt.erb +++ b/lib/arkana/templates/kotlin/arkana.kt.erb @@ -1,5 +1,5 @@ -<% require_relative "lib/arkana/helpers/string" %> -<% require_relative "lib/arkana/helpers/kotlin_template_helper" %> +<% require "arkana/helpers/string" %> +<% require "arkana/helpers/kotlin_template_helper" %> <% # TODO: Sort these import statements alphabetically %> // DO NOT MODIFY // Automatically generated by Arkana (https://github.com/rogerluan/arkana) diff --git a/lib/arkana/templates/kotlin/arkana_protocol.kt.erb b/lib/arkana/templates/kotlin/arkana_protocol.kt.erb index 71dc054..1d313dc 100644 --- a/lib/arkana/templates/kotlin/arkana_protocol.kt.erb +++ b/lib/arkana/templates/kotlin/arkana_protocol.kt.erb @@ -1,5 +1,5 @@ -<% require_relative "lib/arkana/helpers/string" %> -<% require_relative "lib/arkana/helpers/kotlin_template_helper" %> +<% require "arkana/helpers/string" %> +<% require "arkana/helpers/kotlin_template_helper" %> // DO NOT MODIFY // Automatically generated by Arkana (https://github.com/rogerluan/arkana) package <%= @kotlin_package_name %> diff --git a/lib/arkana/templates/kotlin/arkana_tests.kt.erb b/lib/arkana/templates/kotlin/arkana_tests.kt.erb index a4666c4..fc2ce09 100644 --- a/lib/arkana/templates/kotlin/arkana_tests.kt.erb +++ b/lib/arkana/templates/kotlin/arkana_tests.kt.erb @@ -1,5 +1,5 @@ -<% require_relative "lib/arkana/helpers/string" %> -<% require_relative "lib/arkana/helpers/kotlin_template_helper" %> +<% require "arkana/helpers/string" %> +<% require "arkana/helpers/kotlin_template_helper" %> // DO NOT MODIFY // Automatically generated by Arkana (https://github.com/rogerluan/arkana) package <%= @kotlin_package_name %> diff --git a/lib/arkana/templates/swift/arkana.swift.erb b/lib/arkana/templates/swift/arkana.swift.erb index ecbc8f9..f03cebd 100644 --- a/lib/arkana/templates/swift/arkana.swift.erb +++ b/lib/arkana/templates/swift/arkana.swift.erb @@ -1,5 +1,5 @@ -<% require_relative "lib/arkana/helpers/string" %> -<% require_relative "lib/arkana/helpers/swift_template_helper" %> +<% require "arkana/helpers/string" %> +<% require "arkana/helpers/swift_template_helper" %> <% # TODO: Sort these import statements alphabetically %> // DO NOT MODIFY // Automatically generated by Arkana (https://github.com/rogerluan/arkana) diff --git a/lib/arkana/templates/swift/arkana_protocol.swift.erb b/lib/arkana/templates/swift/arkana_protocol.swift.erb index b4ca10a..2f72e06 100644 --- a/lib/arkana/templates/swift/arkana_protocol.swift.erb +++ b/lib/arkana/templates/swift/arkana_protocol.swift.erb @@ -1,5 +1,5 @@ -<% require_relative "lib/arkana/helpers/string" %> -<% require_relative "lib/arkana/helpers/swift_template_helper" %> +<% require "arkana/helpers/string" %> +<% require "arkana/helpers/swift_template_helper" %> // DO NOT MODIFY // Automatically generated by Arkana (https://github.com/rogerluan/arkana)