aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/grunt/utils.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js
index c5ca4d23..9d51e81c 100644
--- a/lib/grunt/utils.js
+++ b/lib/grunt/utils.js
@@ -141,6 +141,7 @@ module.exports = {
var mapFile = minFile + '.map';
var mapFileName = mapFile.match(/[^\/]+$/)[0];
var errorFileName = file.replace(/\.js$/, '-errors.json');
+ var versionNumber = this.getVersion().number;
shell.exec(
'java ' +
this.java32flags() + ' ' +
@@ -154,7 +155,7 @@ module.exports = {
'--language_in ECMASCRIPT5_STRICT ' +
'--minerr_pass ' +
'--minerr_errors ' + errorFileName + ' ' +
- '--minerr_url http://errors.angularjs.org/ ' +
+ '--minerr_url http://errors.angularjs.org/' + versionNumber + '/ ' +
'--source_map_format=V3 ' +
'--create_source_map ' + mapFile + ' ' +
'--js ' + file + ' ' +