diff --git a/composer.json b/composer.json index e882522..a2b7de6 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "bnomei/kirby-nitro", "type": "kirby-plugin", - "version": "1.1.2", + "version": "1.1.3", "description": "Nitro speeds up the loading of content in your Kirby project.", "license": "MIT", "authors": [ diff --git a/index.php b/index.php index 4b8ff1b..43940ac 100644 --- a/index.php +++ b/index.php @@ -58,7 +58,7 @@ function nitro(): \Bnomei\Nitro $cli->success('Done.'); if (function_exists('janitor')) { - janitor()->data([ + janitor()->data($cli->arg('command'), [ 'status' => 200, 'message' => $count.' models indexed.', ]); @@ -76,7 +76,7 @@ function nitro(): \Bnomei\Nitro $cli->success('Done.'); if (function_exists('janitor')) { - janitor()->data([ + janitor()->data($cli->arg('command'), [ 'status' => 200, 'message' => 'Nitro Cache flushed.', ]); diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 45bdb94..33a3459 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -1,8 +1,8 @@ array( 'name' => 'bnomei/kirby-nitro', - 'pretty_version' => '1.1.2', - 'version' => '1.1.2.0', + 'pretty_version' => '1.1.3', + 'version' => '1.1.3.0', 'reference' => null, 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../', @@ -11,8 +11,8 @@ ), 'versions' => array( 'bnomei/kirby-nitro' => array( - 'pretty_version' => '1.1.2', - 'version' => '1.1.2.0', + 'pretty_version' => '1.1.3', + 'version' => '1.1.3.0', 'reference' => null, 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../',