Skip to content

BUG FIX if the objItem.Name is not a string.#5

Open
amalcao wants to merge 1 commit intotodbot:masterfrom
amalcao:master
Open

BUG FIX if the objItem.Name is not a string.#5
amalcao wants to merge 1 commit intotodbot:masterfrom
amalcao:master

Conversation

@amalcao
Copy link

@amalcao amalcao commented Jan 12, 2017

I found the Name field of the objItem may not always be a string, it is an array sometimes. And the script will be crashed in this situation. So I add a type checking just before calling the regex matching to fix this bug.

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