Skip to content

Commit

Permalink
extra cleanup: fix lint issues from master
Browse files Browse the repository at this point in the history
  • Loading branch information
brodybits committed Feb 27, 2020
1 parent 4a85671 commit 6e05b2e
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,22 +241,26 @@ Promise.resolve().then(async () => {
: null

const reactNativeVersion = generateExampleApp
? (await prompt({
type: 'text',
name: 'reactNativeVersion',
message:
'What react-native version to use for the example app (should be at least react-native@0.60)?',
initial: 'react-native@latest'
})).reactNativeVersion
? (
await prompt({
type: 'text',
name: 'reactNativeVersion',
message:
'What react-native version to use for the example app (should be at least react-native@0.60)?',
initial: 'react-native@latest'
})
).reactNativeVersion
: null

const showReactNativeOutput = generateExampleApp
? (await prompt({
type: 'confirm',
name: 'showReactNativeOutput',
message: 'Show the output of React Native CLI (recommended)?',
initial: true
})).showReactNativeOutput
? (
await prompt({
type: 'confirm',
name: 'showReactNativeOutput',
message: 'Show the output of React Native CLI (recommended)?',
initial: true
})
).showReactNativeOutput
: false

if (generateExampleApp) {
Expand Down

0 comments on commit 6e05b2e

Please sign in to comment.