Skip to content

Commit

Permalink
cli/bootstrap: do not add idPrefixes if you use subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivo Georgiev committed Mar 13, 2019
1 parent a6bb663 commit b7ec7e4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/bootstrap.js
Expand Up @@ -64,7 +64,10 @@ async function createAddon() {
},
])

if (!userInput.resources.includes('meta') && !userInput.types.includes('channel') && !userInput.types.includes('tv')) {
if (
!userInput.resources.includes('meta') && !userInput.resources.includes('subtitles')
&& !userInput.types.includes('channel') && !userInput.types.includes('tv')
) {
const isFromIMDb = await inquirer.prompt([
{
type: 'confirm',
Expand Down

0 comments on commit b7ec7e4

Please sign in to comment.