Merge pull request #628 from mbilker/task-helper-undefined-process-env

Replace function accessor with property accessor in Grunt's task-helper script
This commit is contained in:
Ben Gotow 2015-12-09 16:02:09 -08:00
commit 0e4e736607

View file

@ -77,9 +77,9 @@ module.exports = (grunt) ->
false false
notifyAPI: (msg, callback) -> notifyAPI: (msg, callback) ->
if (process.env("NYLAS_INTERNAL_HOOK_URL") ? "").length > 0 if (process.env.NYLAS_INTERNAL_HOOK_URL ? "").length > 0
request.post request.post
url: process.env("NYLAS_INTERNAL_HOOK_URL") url: process.env.NYLAS_INTERNAL_HOOK_URL
json: json:
username: "Edgehill Builds" username: "Edgehill Builds"
text: msg text: msg