Skip to content

Commit a3131b5

Browse files
committed
fix expandVersionsConfig helper
1 parent 0edd812 commit a3131b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/scripts/helpers.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export async function readJSON(filePath) {
157157

158158
export function expandVersionsConfig(config) {
159159
let defaultIndex = null;
160-
const $config = config.map(({ label, branch, path, default: $default }, index) => {
160+
const $config = config.map(({ label, branch, path, tag, default: $default }, index) => {
161161
if ($default) {
162162
if (defaultIndex !== null) throw new Error('Duplicate default');
163163
defaultIndex = index;
@@ -167,6 +167,7 @@ export function expandVersionsConfig(config) {
167167
default: false,
168168
label,
169169
path: path ?? label,
170+
tag,
170171
};
171172
});
172173

0 commit comments

Comments
 (0)