Skip to content

Commit

Permalink
Merge branch 'next' into dependabot/npm_and_yarn/node-fetch-2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld authored Oct 16, 2020
2 parents 16e665a + 9675d4f commit 65184da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/ui/messages/errors/invalidPatchBuild.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import chalk from 'chalk';
import dedent from 'ts-dedent';

import { error } from '../../components/icons';
import { error, info } from '../../components/icons';
import link from '../../components/link';

const docsUrl = 'https://www.chromatic.com/docs/branching-and-baselines#patch-builds';

export default () =>
dedent(chalk`
${error} Invalid value for {bold --patch-build}
This option expects two branch names like {bold headbranch...basebranch}
${info} Read more at ${link(docsUrl)}
`);
1 change: 1 addition & 0 deletions bin/ui/messages/errors/invalidProjectToken.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export default ({ projectToken }) =>
dedent(chalk`
${error} Invalid {bold --project-token} '${projectToken}'
You can find your project token on the Manage screen in your Chromatic project.
Sign in to Chromatic at ${link('https://www.chromatic.com/start')}
${info} Read more at ${link('https://www.chromatic.com/docs/setup')}
`);

0 comments on commit 65184da

Please sign in to comment.