1
0
Fork 0

RequireCommand - check if composer.json is writable

pull/1552/head
Bilal Amarni 2013-02-02 10:49:32 +01:00
parent 99e4173b3d
commit ae9a001053
1 changed files with 5 additions and 0 deletions

View File

@ -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');