From ed008b7148b60584b09c8007bca365292c0f3b39 Mon Sep 17 00:00:00 2001 From: Gregor Herdmann Date: Thu, 22 Jun 2017 14:01:13 +0200 Subject: [PATCH] fix: Scope in Raygun grunt task --- grunt/tasks/raygun.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grunt/tasks/raygun.js b/grunt/tasks/raygun.js index e732742aa9e..89458612b39 100644 --- a/grunt/tasks/raygun.js +++ b/grunt/tasks/raygun.js @@ -27,7 +27,7 @@ const fs = require('fs'); const request = require('request'); module.exports = (grunt) => { - grunt.registerTask('raygun', (env = 'staging') => { + grunt.registerTask('raygun', function(env = 'staging') { const done = this.async(); const options = {