Skip to content

Commit

Permalink
Merge pull request #24 from jadjoubran/analysis-zGb0gq
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
jadjoubran committed Aug 13, 2015
2 parents d45bbac + 6a6445e commit d6f783e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Console/Commands/AngularFeature.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ public function handle()
$studly_name = studly_case($name);

$html = file_get_contents(__DIR__.'/Stubs/AngularFeature/feature.html.stub');
$js = file_get_contents(__DIR__.'/Stubs/AngularFeature/feature.js.stub');
$js = file_get_contents(__DIR__.'/Stubs/AngularFeature/feature.js.stub');
$less = file_get_contents(__DIR__.'/Stubs/AngularFeature/feature.less.stub');

$html = str_replace('{{StudlyName}}', $studly_name, $html);
$js = str_replace('{{StudlyName}}', $studly_name, $js);

$folder = __DIR__ . '/../../../angular/app/' . $name;
if (is_dir($folder)){
$folder = __DIR__.'/../../../angular/app/'.$name;
if (is_dir($folder)) {
$this->info('Folder already exists');

return false;
Expand Down

0 comments on commit d6f783e

Please sign in to comment.