Skip to content

Detecting end of command response#9

Open
coffeebite wants to merge 1 commit intojohnewart:masterfrom
coffeebite:patch-1
Open

Detecting end of command response#9
coffeebite wants to merge 1 commit intojohnewart:masterfrom
coffeebite:patch-1

Conversation

@coffeebite
Copy link

The original regex fails when the command response is simply "." (without quotes, of course).
E.g. The output of the "status" command when there are no workers and no jobs is simply "."

The correct regex should probably be just /.\n$/.

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

Comments