Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Dumper CLI mode detection fixed (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam authored Jun 26, 2021
1 parent 062c5c4 commit cd41168
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].

## v5.0.2

### Fixed

- Dumper CLI mode detection [#47]

[#47]:https://github.com/spiral/roadrunner-laravel/pull/47

## v5.0.1

### Fixed
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ Simple `.rr.yaml` config example ([full example can be found here][roadrunner_co
> For `windows` path must be full (eg.: `php vendor/spiral/roadrunner-laravel/bin/rr-worker start`)
```yaml
rpc:
listen: tcp://127.0.0.1:6001
server:
command: "php ./vendor/bin/rr-worker start --relay-dsn unix:///var/run/rr-relay.sock"
relay: "unix:///var/run/rr-relay.sock"
Expand Down
2 changes: 1 addition & 1 deletion src/Dumper/Dumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function dd(...$vars)
protected function ranUsingCLI(): bool
{
/** @link https://roadrunner.dev/docs/php-environment */
if (Env::get('RR_MODE') !== null && Env::get('RR_RPC') !== null && Env::get('RR_RELAY') !== null) {
if (Env::get('RR_MODE') !== null && Env::get('RR_RELAY') !== null) {
return false;
}

Expand Down

0 comments on commit cd41168

Please sign in to comment.