mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-22 23:23:54 +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
|
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
|
||||||
|
|
Loading…
Reference in a new issue