Skip to content

Commit

Permalink
Merge pull request #157 from browner12/default-command
Browse files Browse the repository at this point in the history
[1.0] update `CommandWatcher`
  • Loading branch information
taylorotwell authored Oct 24, 2018
2 parents 0503893 + 6cacc8d commit bf34c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Watchers/CommandWatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function recordCommand(CommandFinished $event)
}

Telescope::recordCommand(IncomingEntry::make([
'command' => $event->command,
'command' => $event->command ?? $event->input->getArguments()['command'] ?? 'default',
'exit_code' => $event->exitCode,
'arguments' => $event->input->getArguments(),
'options' => $event->input->getOptions(),
Expand Down

0 comments on commit bf34c09

Please sign in to comment.