Skip to content

Commit

Permalink
Replace require with require_relative, improving performance.
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerluan committed Dec 27, 2023
1 parent 0304c47 commit 145e2bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/arkana/encoder.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require "arkana/helpers/string"
require_relative "helpers/string"

# The encoder is responsible for finding the env vars for given keys, encoding them, and creating Secrets based on the generated data.
module Encoder
Expand Down
2 changes: 1 addition & 1 deletion lib/arkana/models/template_arguments.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require "arkana/models/secret"
require_relative "secret"

# A class that defines template arguments in a language-agnostic form.
class TemplateArguments
Expand Down

0 comments on commit 145e2bc

Please sign in to comment.