Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ed4cd6c

Browse files
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.
1 parent 4cc00e7 commit ed4cd6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/grunt/utils.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ module.exports = {
149149
.replace(/"NG_VERSION_FULL"/g, NG_VERSION.full)
150150
.replace(/"NG_VERSION_MAJOR"/, NG_VERSION.major)
151151
.replace(/"NG_VERSION_MINOR"/, NG_VERSION.minor)
152-
.replace(/"NG_VERSION_DOT"/, NG_VERSION.dot)
152+
.replace(/"NG_VERSION_DOT"/, NG_VERSION.patch)
153153
.replace(/"NG_VERSION_CDN"/, NG_VERSION.cdn)
154-
.replace(/"NG_VERSION_CODENAME"/, NG_VERSION.codename);
154+
.replace(/"NG_VERSION_CODENAME"/, NG_VERSION.codeName);
155155
if (strict !== false) processed = this.singleStrict(processed, '\n\n', true);
156156
return processed;
157157
},

0 commit comments

Comments
 (0)