Skip to content

Commit

Permalink
add curly braces to if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
elazzabi committed Jan 17, 2019
1 parent d27d05e commit dfeb3a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/cli/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ import pager from 'lib/cli/pager';

function uncaughtError( err ) {
// Error raised when trying to write to an already closed stream
if ( err.code === 'EPIPE' ) return;
if ( err.code === 'EPIPE' ) {
return;
}

console.log();
console.log( ' ', chalk.red( '✕' ), ' Unexpected error: Please contact VIP Support with the following error:' );
Expand Down

0 comments on commit dfeb3a7

Please sign in to comment.