From 94764ee08910726db1db7a1101c3001500306dea Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Thu, 14 Nov 2013 14:18:55 -0800 Subject: fix(minErr): remove references to internals APIs So that we can use minErr with angular-loader, before full angular is loaded. This also fixes replacing the version during the build. --- lib/grunt/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index 314ac94e..90613a29 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -168,7 +168,7 @@ module.exports = { var mapFile = minFile + '.map'; var mapFileName = mapFile.match(/[^\/]+$/)[0]; var errorFileName = file.replace(/\.js$/, '-errors.json'); - var versionNumber = this.getVersion().number; + var versionNumber = this.getVersion().full; shell.exec( 'java ' + this.java32flags() + ' ' + -- cgit v1.2.3