Skip to content

Commit

Permalink
small fix (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noviny committed Oct 10, 2019
1 parent c10338d commit 7e2fc8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/bright-jeans-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@changesets/cli": patch
---

Fix message on warning if 'add' command is run before changesets has been initialised.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/add/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default async function add(cwd: string, config: Config) {
if (!fs.existsSync(changesetBase)) {
logger.warn("There is no .changeset folder. ");
logger.warn(
"If this is the first time `changesets` have been used in this project, run `yarn changesets init` to get set up."
"If this is the first time `changesets` have been used in this project, run `yarn changeset init` to get set up."
);
logger.warn(
"If you expected there to be changesets, you should check git history for when the folder was removed to ensure you do not lose any configuration."
Expand Down

0 comments on commit 7e2fc8e

Please sign in to comment.