Skip to content

Commit c372cfc

Browse files
committed
docs: fix the 'show source' button for snapshots
fixes angular#5590
1 parent a7aa4cc commit c372cfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/src/ngdoc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ Doc.prototype = {
548548
minerrMsg;
549549

550550
var gitTagFromFullVersion = function(version) {
551-
var match = version.match(/-(\w{7})/);
551+
var match = version.match(/sha\.(\w{7})/);
552552

553553
if (match) {
554554
// git sha

0 commit comments

Comments
 (0)