Skip to content

Commit

Permalink
feat: check the manager is obvious as part of `shakapacker:check_mana…
Browse files Browse the repository at this point in the history
…ger`
  • Loading branch information
G-Rath committed Mar 25, 2024
1 parent e5a2747 commit b4adde7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/tasks/shakapacker/check_manager.rake
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
require "shakapacker/utils/misc"
require "shakapacker/manager_checker"

namespace :shakapacker do
desc "Verifies if the expected JS package manager is installed"
task :check_manager do
Shakapacker::ManagerChecker.new.warn_unless_package_manager_is_obvious!

require "package_json"

package_json = PackageJson.read
Expand Down

0 comments on commit b4adde7

Please sign in to comment.