Skip to content

Commit da0639c

Browse files
committed
refactor: inline version label
1 parent 0e58c96 commit da0639c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/generators/web/utils/config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,9 @@ export function buildLanguageDisplayNameMap() {
7575
export default function createConfigSource(input) {
7676
const { version: configVersion, ...config } = getConfig('web');
7777

78-
const versionLabel = `v${configVersion.version}`;
7978
const editURL = populate(config.editURL, {
8079
...config,
81-
version: versionLabel,
80+
version: `v${configVersion.version}`,
8281
});
8382
const pageURL = populate(config.pageURL, config);
8483

0 commit comments

Comments
 (0)