Skip to content

Commit

Permalink
Fix typo in config_file_location (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangarha authored Nov 26, 2023
1 parent 300f18f commit b77be4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/core/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class Config # rubocop:disable Metrics/ClassLength
# command line options
:args, :options

CONFIG_FILE_LOCATIION = ".controlplane/controlplane.yml"
CONFIG_FILE_LOCATION = ".controlplane/controlplane.yml"

def initialize(args, options)
@args = args
Expand Down Expand Up @@ -117,13 +117,13 @@ def find_app_config_file
path = Pathname.new(".").expand_path

loop do
config_file = path + CONFIG_FILE_LOCATIION
config_file = path + CONFIG_FILE_LOCATION
break config_file if File.file?(config_file)

path = path.parent

if path.root?
raise "Can't find project config file at 'project_folder/#{CONFIG_FILE_LOCATIION}', please create it."
raise "Can't find project config file at 'project_folder/#{CONFIG_FILE_LOCATION}', please create it."
end
end
end
Expand Down

0 comments on commit b77be4e

Please sign in to comment.