Skip to content

Commit

Permalink
fix command
Browse files Browse the repository at this point in the history
  • Loading branch information
Devolicious committed Jan 31, 2018
1 parent c215cfa commit c5ed79c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ protected function doExecute()
$this->assistant->writeSection('Layout generation');
}

$this->browserSyncUrl = $this->assistant->getOptionOrDefault('browsersync', null);
$rootDir = $this->getApplication()->getKernel()->getRootDir().'/../';
$this->createGenerator()->generate($this->bundle, $rootDir, $this->assistant->getOption('demosite'), $this->browserSyncUrl);

Expand All @@ -84,6 +83,7 @@ protected function doInteract()
*/
$bundleNamespace = $this->assistant->getOptionOrDefault('namespace', null);
$this->bundle = $this->askForBundleName('layout', $bundleNamespace);
$this->browserSyncUrl = $this->assistant->getOptionOrDefault('browsersync', null);

if (null === $this->browserSyncUrl) {
$this->browserSyncUrl = $this->assistant->ask('Which URL would you like to configure for browserSync?', 'http://myproject.dev');
Expand Down

0 comments on commit c5ed79c

Please sign in to comment.