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

Commit

Permalink
Removed calls to .replace() since kebabCase has those built in.
Browse files Browse the repository at this point in the history
  • Loading branch information
KaseyCantu committed Jan 11, 2021
1 parent 73e5e71 commit f171ff1
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: capitalization.kebabCase(this.determineAppname().replace(/ /g, "-").replace("_", "-"), { prefix: "shipengine" }),
name: capitalization.kebabCase(this.determineAppname(), { prefix: "shipengine" }),
scope: "@your-company-name",
type: "carrier",
version: "1.0.0",
Expand Down

0 comments on commit f171ff1

Please sign in to comment.