Closed technicalpickles closed 9 years ago
This was reported in https://github.com/github/generator-hubot/issues/15 . For some reason, this.user.git.name and this.user.git.email in this case weren't functions.
this.user.git.name
this.user.git.email
This is a workaround to check their type before calling them. If they aren't functions, they are assumed to be the value.
This was reported in https://github.com/github/generator-hubot/issues/15 . For some reason,
this.user.git.name
andthis.user.git.email
in this case weren't functions.This is a workaround to check their type before calling them. If they aren't functions, they are assumed to be the value.