diff --git a/src/Canary.php b/src/Canary.php index 154a057..d8752a5 100644 --- a/src/Canary.php +++ b/src/Canary.php @@ -8,6 +8,9 @@ class Canary extends Plugin { public function init() { + if (Craft::$app->getRequest()->getIsConsoleRequest()) { + return; + } Craft::setAlias("@TopShelfCraft/Canary", __DIR__);