Skip to content

Run only if not in cli context#4

Open
mircobabini wants to merge 1 commit intoKnowTheCode:developfrom
mircobabini:patch-2
Open

Run only if not in cli context#4
mircobabini wants to merge 1 commit intoKnowTheCode:developfrom
mircobabini:patch-2

Conversation

@mircobabini
Copy link

@mircobabini mircobabini commented Mar 7, 2022

Without this condition, when an error is thrown in wp-cli context, the script dies with no message at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant