Skip to content

Commit

Permalink
Merge pull request #413 from HubSpot/fix/create-module-label
Browse files Browse the repository at this point in the history
Fix label in module creation flow
  • Loading branch information
anthmatic authored Jan 11, 2021
2 parents 6a2b260 + fec6f90 commit 041b40f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cms-cli/commands/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ const PROJECT_REPOSITORIES = {
const SUPPORTED_ASSET_TYPES = commaSeparatedValues(Object.values(TYPES));

const createModule = (moduleDefinition, name, dest) => {
const writeModuleMeta = ({ contentTypes, label, global }, dest) => {
const writeModuleMeta = ({ contentTypes, moduleLabel, global }, dest) => {
const metaData = {
label: label,
label: moduleLabel,
css_assets: [],
external_js: [],
global: global,
Expand Down

0 comments on commit 041b40f

Please sign in to comment.