diff options
| author | Peter Bacon Darwin | 2014-03-18 10:43:17 +0000 | 
|---|---|---|
| committer | Peter Bacon Darwin | 2014-03-18 10:43:17 +0000 | 
| commit | ed4cd6c3c6a30ddfead1cbcf48f2ac6adf60a802 (patch) | |
| tree | d4e5fbd37663eae4069713a5b6bce1a8478d3d31 | |
| parent | 4cc00e7aed83b3060154aa1c10e55a33a106b6f0 (diff) | |
| download | angular.js-ed4cd6c3c6a30ddfead1cbcf48f2ac6adf60a802.tar.bz2 | |
chore(utils): fix version number processing
The changes to version-info meant that the version being injected into
the code at build time was missing the "dot" (patch) version and the
release code-name.
| -rw-r--r-- | lib/grunt/utils.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index b25a4555..c00147fe 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -149,9 +149,9 @@ module.exports = {        .replace(/"NG_VERSION_FULL"/g, NG_VERSION.full)        .replace(/"NG_VERSION_MAJOR"/, NG_VERSION.major)        .replace(/"NG_VERSION_MINOR"/, NG_VERSION.minor) -      .replace(/"NG_VERSION_DOT"/, NG_VERSION.dot) +      .replace(/"NG_VERSION_DOT"/, NG_VERSION.patch)        .replace(/"NG_VERSION_CDN"/, NG_VERSION.cdn) -      .replace(/"NG_VERSION_CODENAME"/, NG_VERSION.codename); +      .replace(/"NG_VERSION_CODENAME"/, NG_VERSION.codeName);      if (strict !== false) processed = this.singleStrict(processed, '\n\n', true);      return processed;    }, | 
