RequireCommand - check if composer.json is writable
parent
99e4173b3d
commit
ae9a001053
|
@ -64,6 +64,11 @@ EOT
|
|||
|
||||
return 1;
|
||||
}
|
||||
if (!is_writable($file)) {
|
||||
$output->writeln('<error>'.$file.' is not writable.</error>');
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
$dialog = $this->getHelperSet()->get('dialog');
|
||||
|
||||
|
|
Loading…
Reference in New Issue