diff --git a/lib/github_cli.rb b/lib/github_cli.rb
index <HASH>..<HASH> 100644
--- a/lib/github_cli.rb
+++ b/lib/github_cli.rb
@@ -12,7 +12,6 @@ require_relative 'github_cli/formatter'
 require_relative 'github_cli/terminal'
 require_relative 'github_cli/ui'
 require_relative 'github_cli/version'
-require_relative 'github_cli/thor_ext'
 
 # Base module which adds Github API to the command line
 module GithubCLI
diff --git a/lib/github_cli/vendor.rb b/lib/github_cli/vendor.rb
index <HASH>..<HASH> 100644
--- a/lib/github_cli/vendor.rb
+++ b/lib/github_cli/vendor.rb
@@ -1,5 +1,3 @@
-# frozen_string_literal: true
-
 if defined?(Thor)
   GithubCLI.ui.warn "Thor has already been required. "
 end
@@ -10,3 +8,5 @@ $:.unshift(vendor_dir) unless $:.include?(vendor_dir)
 require 'thor'
 require 'thor/group'
 require 'thor/actions'
+
+require_relative 'thor_ext'
Change to load thor extension after thro itself to fix dependency issue