Skip to content

Commit

Permalink
create a new line for yarn create
Browse files Browse the repository at this point in the history
  • Loading branch information
jperl committed Mar 20, 2020
1 parent b4c673a commit 6650185
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/create-qawolf/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { getPackageJsonPath } from './packageJson';
import { Packages } from './types';

export const logError = (error: Error): void => {
// create a new line for yarn create
console.log();

if (error.message === 'cannot read package.json') {
console.log(bold().yellow(`Cannot read ${getPackageJsonPath()}`));
console.log(bold().yellow(`Create a package.json with "npm init"`));
Expand Down

0 comments on commit 6650185

Please sign in to comment.