We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14f4411 commit 4305d69Copy full SHA for 4305d69
1 file changed
src/Plugin/Plugin.php
@@ -83,17 +83,12 @@ public static function install(\Composer\Script\Event $event) {
83
}
84
85
private function changePermission($list) {
86
- $error = '';
87
foreach ($list as $item) {
88
try {
89
chmod($item, 0777);
90
} catch (\Throwable $e) {
91
- $error .= 'chmod 777 ' . $item . " fail, Please do it manually \n";
+ $this->io->writeError('chmod 777 ' . $item . ' fail, Please do it manually');
92
93
94
-
95
- if ($error) {
96
- throw new \Exception($error);
97
- }
98
99
0 commit comments