Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 623e564

Browse files
Foxandxsswesleycho
authored andcommitted
chore: add the current version of the docs
Closes #4759
1 parent a1e0686 commit 623e564

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Gruntfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -408,10 +408,10 @@ module.exports = function(grunt) {
408408
url: '/bootstrap/versioned-docs/' + version
409409
};
410410
});
411-
jsContent[0] = {
411+
jsContent.unshift({
412412
version: 'Current',
413413
url: '/bootstrap'
414-
};
414+
});
415415
grunt.file.write(versionsMappingFile, JSON.stringify(jsContent));
416416
grunt.log.writeln('File ' + versionsMappingFile.cyan + ' created.');
417417
done();

0 commit comments

Comments
 (0)