Skip to content
This repository has been archived by the owner on Mar 13, 2021. It is now read-only.

Commit

Permalink
Merge pull request #122 from ShipEngine/DX-667-defaults-to-invalid-ap…
Browse files Browse the repository at this point in the history
…p-name

Added a call to the SE capitalization lib to apply `kebabCase` to the…
  • Loading branch information
KaseyCantu committed Jan 19, 2021
2 parents 83941c3 + f171ff1 commit 56b84d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/generators/apps-new.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class AppsNew extends Generator {
};

const defaults = {
name: this.determineAppname().replace(/ /g, "-"),
name: capitalization.kebabCase(this.determineAppname(), { prefix: "shipengine" }),
scope: "@your-company-name",
type: "carrier",
version: "1.0.0",
Expand Down

0 comments on commit 56b84d7

Please sign in to comment.