8000 Use isDecorated (#203) · laravel/installer@8a7b8a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8a7b8a2

Browse files
authored
Use isDecorated (#203)
1 parent a891b0b commit 8a7b8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NewCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ protected function findComposer()
334334
*/
335335
protected function runCommands($commands, InputInterface $input, OutputInterface $output, array $env = [])
336336
{
337-
if ($input->hasOption('no-ansi')) {
337+
if (! $output->isDecorated()) {
338338
$commands = array_map(function ($value) {
339339
if (substr($value, 0, 5) === 'chmod') {
340340
return $value;

0 commit comments

Comments
 (0)
0