Skip to content

Commit 5062061

Browse files
authored
fix: set raw output using --execute (#155)
1 parent 07b32ef commit 5062061

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Console/TinkerCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ public function handle()
5252
$this->getCasters()
5353
);
5454

55+
if ($this->option('execute')) {
56+
$config->setRawOutput(true);
57+
}
58+
5559
$shell = new Shell($config);
5660
$shell->addCommands($this->getCommands());
5761
$shell->setIncludes($this->argument('include'));

0 commit comments

Comments
 (0)