Skip to content

Commit

Permalink
Fix locale json location
Browse files Browse the repository at this point in the history
  • Loading branch information
Dianliang233 committed Feb 24, 2024
1 parent 7063444 commit edbdaa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/generateGadgetsDef.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ for (const name of names) {
dependencies ? `|dependencies=${dependencies.replace(/ /g, '')}` : ''
}|hidden]|mcw-calc-${name}.js${
cssNames.includes(name) ? `|mcw-calc-${name}.css` : ''
}|mcw-calc-${name}.json`,
}|mcw-calc-${name}-locales.json`,
)
manifest.prod.push(`Gadget-mcw-calc-${name}.js`)
if (cssNames.includes(name)) manifest.prod.push(`Gadget-mcw-calc-${name}.css`)
Expand Down
2 changes: 1 addition & 1 deletion scripts/updateGadgets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async function update(target: DeployTarget, names: string[], definition: string)
const text = rev.content.replace(section, definition)
return {
text: text,
summary: `Bot: Automatically deploy changes from Git (${commitHash})`,
summary: `Bot: Automatically deploy changes from Git (${commitHash.trim().substring(0, 6)})`,
}
})
}

0 comments on commit edbdaa7

Please sign in to comment.