From b77be4e1d24c0dded4eb2b415cd43addf6d36d34 Mon Sep 17 00:00:00 2001 From: Mostafa Ahangarha Date: Sun, 26 Nov 2023 11:43:45 +0330 Subject: [PATCH] Fix typo in config_file_location (#118) --- lib/core/config.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/config.rb b/lib/core/config.rb index 7b47cce3..0eefffef 100644 --- a/lib/core/config.rb +++ b/lib/core/config.rb @@ -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 @@ -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