Skip to content

Commit 795dfea

Browse files
author
jonatansalas
committed
Minor change
1 parent 8a2f5fc commit 795dfea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cli/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ export default class Command extends Component {
3737

3838
render(props, state) {
3939
const isFetchingFromGitHub = !state.error && !state.result && !state.progress;
40-
const hasNoErrors = state.error !== null;
41-
const hasResults = state.result === 'ok';
4240
const isInProgress = state.progress;
41+
const hasErrors = state.error !== null;
42+
const hasResults = state.result === 'ok';
4343

4444
const projectName = state.projectName || props.projectName;
4545

@@ -54,7 +54,7 @@ export default class Command extends Component {
5454
<Cli.Conditional expression={isInProgress}>
5555
<Spinner green /> Unzipping starter project to {projectName}
5656
</Cli.Conditional>
57-
<Cli.Conditional expression={hasNoErrors}>
57+
<Cli.Conditional expression={hasErrors}>
5858
<Text red>
5959
{state.error && state.error.message}
6060
</Text>

0 commit comments

Comments
 (0)