Skip to content

Commit

Permalink
Revert from "require_relative" to "require" in the .erb templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerluan committed Jun 13, 2024
1 parent 56c0e75 commit 144e4af
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions lib/arkana/templates/kotlin/arkana.kt.erb
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions lib/arkana/templates/kotlin/arkana_protocol.kt.erb
Original file line number Diff line number Diff line change
@@ -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 %>
Expand Down
4 changes: 2 additions & 2 deletions lib/arkana/templates/kotlin/arkana_tests.kt.erb
Original file line number Diff line number Diff line change
@@ -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 %>
Expand Down
4 changes: 2 additions & 2 deletions lib/arkana/templates/swift/arkana.swift.erb
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions lib/arkana/templates/swift/arkana_protocol.swift.erb
Original file line number Diff line number Diff line change
@@ -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)

Expand Down

0 comments on commit 144e4af

Please sign in to comment.