mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-22 15:15:12 +08:00
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:
commit
0e4e736607
1 changed files with 2 additions and 2 deletions
|
@ -77,9 +77,9 @@ module.exports = (grunt) ->
|
|||
false
|
||||
|
||||
notifyAPI: (msg, callback) ->
|
||||
if (process.env("NYLAS_INTERNAL_HOOK_URL") ? "").length > 0
|
||||
if (process.env.NYLAS_INTERNAL_HOOK_URL ? "").length > 0
|
||||
request.post
|
||||
url: process.env("NYLAS_INTERNAL_HOOK_URL")
|
||||
url: process.env.NYLAS_INTERNAL_HOOK_URL
|
||||
json:
|
||||
username: "Edgehill Builds"
|
||||
text: msg
|
||||
|
|
Loading…
Reference in a new issue