From 7d42825426198158d769da575fc85e03da154615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane?= Date: Sun, 7 May 2017 21:58:49 +0200 Subject: [PATCH] rollback: remove path (I just understood that it was only for the model...) --- src/Commands/ResourcesCommand.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/Commands/ResourcesCommand.php b/src/Commands/ResourcesCommand.php index ccd46d7..8be23b9 100644 --- a/src/Commands/ResourcesCommand.php +++ b/src/Commands/ResourcesCommand.php @@ -17,12 +17,7 @@ class ResourcesCommand extends BaseCommand { public function handle() { - $path = ''; - if (! is_null($this->option('path'))) { - $path = $this->option('path'); - } - - $content = $this->fs->get($path . $this->argument('file')); + $content = $this->fs->get($this->argument('file')); $content = Yaml::parse($content); foreach ($content as $model => $i){