Skip to content

Commit

Permalink
🐛 data for janitor was missing command name
Browse files Browse the repository at this point in the history
  • Loading branch information
bnomei committed Aug 9, 2024
1 parent 7590b0f commit 49fe981
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
]);
Expand All @@ -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.',
]);
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php return array(
'root' => 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__ . '/../../',
Expand All @@ -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__ . '/../../',
Expand Down

0 comments on commit 49fe981

Please sign in to comment.